From 2af5537f91f782bb3d2364eb8706e312b2639ae2 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Wed, 12 Jun 2019 13:22:29 +1000 Subject: src/openssl.c: Fix missing defines for OpenSSL 0.9.8 --- src/openssl.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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 { -- cgit v1.2.3-59-g8ed1b