diff options
Diffstat (limited to 'crypto/openssl/crypto/cversion.c')
-rw-r--r-- | crypto/openssl/crypto/cversion.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/openssl/crypto/cversion.c b/crypto/openssl/crypto/cversion.c index 297f884..8ecfba7 100644 --- a/crypto/openssl/crypto/cversion.c +++ b/crypto/openssl/crypto/cversion.c @@ -100,6 +100,14 @@ const char *SSLeay_version(int t) return("platform: information not available"); #endif } + if (t == SSLEAY_DIR) + { +#ifdef OPENSSLDIR + return "OPENSSLDIR: \"" OPENSSLDIR "\""; +#else + return "OPENSSLDIR: N/A"; +#endif + } return("not available"); } |