Some time in history, SSL_CTX_sessions() disappeared. It is now
[openssl.git] / crypto / cversion.c
index 8d18a95dfc6789230c1677619dc65eb873018a7b..297f8843f58586803ea450af2e1be417186bbbc4 100644 (file)
@@ -59,8 +59,9 @@
 #include <stdio.h>
 #include <string.h>
 #include "cryptlib.h"
-#include "crypto.h"
-#include "date.h"
+#include <openssl/crypto.h>
+
+#include "buildinf.h"
 
 const char *SSLeay_version(int t)
        {
@@ -72,7 +73,7 @@ const char *SSLeay_version(int t)
                static char buf[sizeof(DATE)+11];
 
                sprintf(buf,"built on: %s",DATE);
-               return(buf);
+               return(buf);
 #else
                return("built on: date not available");
 #endif