aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/openssl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/openssl.c b/src/openssl.c
index 0387fb4..95a2939 100644
--- a/src/openssl.c
+++ b/src/openssl.c
@@ -2186,6 +2186,14 @@ STACK_OF(X509) *compat_X509_chain_up_ref(STACK_OF(X509) *chain) {
#define EVP_F_EVP_KDF_CTX_NEW_ID 0
#endif
+#ifndef EVP_R_UNSUPPORTED_ALGORITHM
+#define EVP_R_UNSUPPORTED_ALGORITHM EVP_R_UNKNOWN_OPTION
+#endif
+
+#ifndef EVP_R_COMMAND_NOT_SUPPORTED
+#define EVP_R_COMMAND_NOT_SUPPORTED EVP_R_UNKNOWN_OPTION
+#endif
+
typedef struct {
int nid;
union {