aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2019-06-12 13:22:29 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2019-06-12 13:22:29 +1000
commit2af5537f91f782bb3d2364eb8706e312b2639ae2 (patch)
treef4d30f9c37bf30c45272bf6affb52718b7cadeef
parent7faf03f7efeffc6a97eaf351930cdc3806c52270 (diff)
downloadluaossl-2af5537f91f782bb3d2364eb8706e312b2639ae2.tar.gz
luaossl-2af5537f91f782bb3d2364eb8706e312b2639ae2.tar.bz2
luaossl-2af5537f91f782bb3d2364eb8706e312b2639ae2.zip
src/openssl.c: Fix missing defines for OpenSSL 0.9.8
-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 {