mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-11-22 00:09:23 -05:00
Change OpenSSL version reporting
This commit is contained in:
parent
8a0af5bc12
commit
9cabaa05ec
@ -33,7 +33,7 @@ static void print_platform_info() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(USE_OPENSSL)
|
#if defined(USE_OPENSSL)
|
||||||
#include <openssl/crypto.h>
|
#include <openssl/opensslv.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static void print_oqs_configuration() {
|
static void print_oqs_configuration() {
|
||||||
@ -42,7 +42,7 @@ static void print_oqs_configuration() {
|
|||||||
printf("Git commit: %s\n", OQS_COMPILE_GIT_COMMIT);
|
printf("Git commit: %s\n", OQS_COMPILE_GIT_COMMIT);
|
||||||
#endif
|
#endif
|
||||||
#if defined(USE_OPENSSL)
|
#if defined(USE_OPENSSL)
|
||||||
printf("OpenSSL enabled: Yes (%08lx)\n", OpenSSL_version_num());
|
printf("OpenSSL enabled: Yes (%s)\n", OPENSSL_VERSION_TEXT);
|
||||||
#else
|
#else
|
||||||
printf("OpenSSL enabled: No\n");
|
printf("OpenSSL enabled: No\n");
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user