BUG/MINOR: ssl: One free session in cache remains unused.
diff --git a/src/shctx.c b/src/shctx.c
index 3375ead..03961b6 100644
--- a/src/shctx.c
+++ b/src/shctx.c
@@ -173,7 +173,7 @@
 				shctx->active.n = s;
 
 
-#define shsess_get_next()	(shctx->free.p == shctx->free.n) ? \
+#define shsess_get_next()	(shctx->free.p == &shctx->free) ? \
 				     shctx->active.p : shctx->free.p;
 
 /* Tree Macros */