Change OpenSSL version reporting

This commit is contained in:
Douglas Stebila 2019-08-03 09:56:46 -04:00
parent 8a0af5bc12
commit 9cabaa05ec

View File

@ -33,7 +33,7 @@ static void print_platform_info() {
}
#if defined(USE_OPENSSL)
#include <openssl/crypto.h>
#include <openssl/opensslv.h>
#endif
static void print_oqs_configuration() {
@ -42,7 +42,7 @@ static void print_oqs_configuration() {
printf("Git commit: %s\n", OQS_COMPILE_GIT_COMMIT);
#endif
#if defined(USE_OPENSSL)
printf("OpenSSL enabled: Yes (%08lx)\n", OpenSSL_version_num());
printf("OpenSSL enabled: Yes (%s)\n", OPENSSL_VERSION_TEXT);
#else
printf("OpenSSL enabled: No\n");
#endif