The callbacks in the NAME_FUNCS structure are not used directly as LHASH
[openssl.git] / crypto / cversion.c
index 297f884..8ecfba7 100644 (file)
@@ -98,6 +98,14 @@ const char *SSLeay_version(int t)
                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");