summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCameron Katri <me@cameronkatri.com>2021-10-16 10:55:14 -0400
committerCameron Katri <me@cameronkatri.com>2021-10-16 10:55:14 -0400
commit15da4c1a0673c6fed3329a7785d5352470018812 (patch)
treef6716fc09b91fc34cbba69fe0f43c09eb994609c
parent7e5fd1f260852388b6c176d741b39e6ed88cc6c4 (diff)
downloadldid-15da4c1a0673c6fed3329a7785d5352470018812.tar.gz
ldid-15da4c1a0673c6fed3329a7785d5352470018812.tar.zst
ldid-15da4c1a0673c6fed3329a7785d5352470018812.zip
Fix openssl 3 compatv2.1.5-procursus2
I'm an idiot, it's OPENSSL_VERSION_NUMBER not OPENSSL_VERSION_NUM
-rw-r--r--ldid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldid.cpp b/ldid.cpp
index 94a8a05..6d95057 100644
--- 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