]> git.cameronkatri.com Git - ldid.git/commitdiff
Fix openssl 3 compat v2.1.5-procursus2
authorCameron Katri <me@cameronkatri.com>
Sat, 16 Oct 2021 14:55:14 +0000 (10:55 -0400)
committerCameron Katri <me@cameronkatri.com>
Sat, 16 Oct 2021 14:55:14 +0000 (10:55 -0400)
I'm an idiot, it's OPENSSL_VERSION_NUMBER not OPENSSL_VERSION_NUM

ldid.cpp

index 94a8a0552b938fa3e8c387849c4336db7ed18619..6d9505749e6c75d6a91850f45b597fcc72c76b96 100644 (file)
--- a/ldid.cpp
+++ b/ldid.cpp
@@ -44,7 +44,7 @@
 
 #ifndef LDID_NOSMIME
 #include <openssl/opensslv.h>
-# if OPENSSL_VERSION_NUM >= 0x30000000
+# if OPENSSL_VERSION_NUMBER >= 0x30000000
 #  include <openssl/provider.h>
 # endif
 #include <openssl/err.h>
@@ -3124,7 +3124,7 @@ static void usage(const char *argv0) {
 int main(int argc, char *argv[]) {
 #ifndef LDID_NOSMIME
     OpenSSL_add_all_algorithms();
-# if OPENSSL_VERSION_NUM >= 0x30000000
+# if OPENSSL_VERSION_NUMBER >= 0x30000000
     OSSL_PROVIDER *legacy = OSSL_PROVIDER_load(NULL, "legacy");
     OSSL_PROVIDER *deflt = OSSL_PROVIDER_load(NULL, "default");
 # endif