diff options
author | Bodo Möller <bodo@openssl.org> | 2001-01-10 16:15:36 +0100 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2001-01-10 16:15:36 +0100 |
commit | 673b3fde824b8cafe33d1c908e890e42645a0ade (patch) | |
tree | dac80e4bdf2cca01c9ba9a59ed08baa76c52e1eb /crypto/cversion.c | |
parent | 'char' argument to islower must be converted to 'unsigned char' (diff) | |
download | openssl-673b3fde824b8cafe33d1c908e890e42645a0ade.tar.xz openssl-673b3fde824b8cafe33d1c908e890e42645a0ade.zip |
Add SSLEAY_DIR argument code for SSLeay_version.
Add '-d' option for 'openssl version' (included in '-a').
Diffstat (limited to 'crypto/cversion.c')
-rw-r--r-- | crypto/cversion.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/cversion.c b/crypto/cversion.c index 297f8843f5..8ecfba7b16 100644 --- a/crypto/cversion.c +++ b/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"); } |