X-Git-Url: https://git.openssl.org/gitweb/?a=blobdiff_plain;f=crypto%2Fcversion.c;h=8ecfba7b16bac1dac3dd368589a10fbf49b0b402;hb=bb62a8b0c57c88ec189389f07250dee9c87d0681;hp=428def308136645b97550bd0593da281bf270080;hpb=2e0fc875992dc0b4a0d1372871e27c9ffa31ec3e;p=openssl.git diff --git a/crypto/cversion.c b/crypto/cversion.c index 428def3081..8ecfba7b16 100644 --- a/crypto/cversion.c +++ b/crypto/cversion.c @@ -61,11 +61,7 @@ #include "cryptlib.h" #include -#ifdef MK1MF_BUILD -# include "mk1mfinf.h" -#else -# include "buildinf.h" -#endif +#include "buildinf.h" const char *SSLeay_version(int t) { @@ -102,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");