X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=crypto%2Fcversion.c;h=a13ccf429f1dca868d444067083685c86aca2875;hp=8e41fcef7467edd27ae0e98a5ce0d5922efc05d5;hb=e09621ff57f6965d30cc2d6b5045f93906d656a0;hpb=39e46af6bb3f1ad7f5c0dee8e3d13e2daf9a0160 diff --git a/crypto/cversion.c b/crypto/cversion.c index 8e41fcef74..a13ccf429f 100644 --- a/crypto/cversion.c +++ b/crypto/cversion.c @@ -1,4 +1,3 @@ -/* crypto/cversion.c */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -101,6 +100,13 @@ const char *OpenSSL_version(int t) return "OPENSSLDIR: \"" OPENSSLDIR "\""; #else return "OPENSSLDIR: N/A"; +#endif + } + if (t == OPENSSL_ENGINES_DIR) { +#ifdef ENGINESDIR + return "ENGINESDIR: \"" ENGINESDIR "\""; +#else + return "ENGINESDIR: N/A"; #endif } return ("not available");