Some time in history, SSL_CTX_sessions() disappeared.  It is now
restored, but not as a macro this time...
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index 9b02b6a..3109708 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -798,6 +798,11 @@
 		}
 	}
 
+struct lhash_st *SSL_CTX_sessions(SSL_CTX *ctx)
+	{
+	return ctx->sessions;
+	}
+
 long SSL_CTX_ctrl(SSL_CTX *ctx,int cmd,long larg,char *parg)
 	{
 	long l;