The callbacks in the NAME_FUNCS structure are not used directly as LHASH
[openssl.git] / crypto / cversion.c
index 428def308136645b97550bd0593da281bf270080..8ecfba7b16bac1dac3dd368589a10fbf49b0b402 100644 (file)
 #include "cryptlib.h"
 #include <openssl/crypto.h>
 
 #include "cryptlib.h"
 #include <openssl/crypto.h>
 
-#ifdef MK1MF_BUILD
-# include "mk1mfinf.h"
-#else
-# include "buildinf.h"
-#endif
+#include "buildinf.h"
 
 const char *SSLeay_version(int t)
        {
 
 const char *SSLeay_version(int t)
        {
@@ -102,6 +98,14 @@ const char *SSLeay_version(int t)
                return(buf);
 #else
                return("platform: information not available");
                return(buf);
 #else
                return("platform: information not available");
+#endif
+               }
+       if (t == SSLEAY_DIR)
+               {
+#ifdef OPENSSLDIR
+               return "OPENSSLDIR: \"" OPENSSLDIR "\"";
+#else
+               return "OPENSSLDIR: N/A";
 #endif
                }
        return("not available");
 #endif
                }
        return("not available");