summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPedro Monreal <pmgdeb@gmail.com>2021-03-04 17:01:50 +0100
committerPauli <ppzgs1@gmail.com>2021-03-11 03:19:40 +0100
commitbf23b9a163658496c3cabb1d0a00a88b94aede0a (patch)
tree598380f1b369e64dbcb43e5f21fb086689668847 /include
parenttest: convert store test to use relative paths (diff)
downloadopenssl-bf23b9a163658496c3cabb1d0a00a88b94aede0a.tar.xz
openssl-bf23b9a163658496c3cabb1d0a00a88b94aede0a.zip
Fix reason code: EVP_R_OPERATON_NOT_INITIALIZED
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Shane Lontis <shane.lontis@oracle.com> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14429)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/cryptoerr_legacy.h5
-rw-r--r--include/openssl/evperr.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/include/openssl/cryptoerr_legacy.h b/include/openssl/cryptoerr_legacy.h
index 34bb3dfd1e..6b78c5624c 100644
--- a/include/openssl/cryptoerr_legacy.h
+++ b/include/openssl/cryptoerr_legacy.h
@@ -1454,6 +1454,11 @@ OSSL_DEPRECATEDIN_3_0 int ERR_load_X509V3_strings(void);
# define X509V3_F_X509_PURPOSE_ADD 0
# define X509V3_F_X509_PURPOSE_SET 0
+/*
+ * Compatibility defines.
+ */
+# define EVP_R_OPERATON_NOT_INITIALIZED EVP_R_OPERATION_NOT_INITIALIZED
+
# endif
# ifdef __cplusplus
diff --git a/include/openssl/evperr.h b/include/openssl/evperr.h
index a96c684f1f..b2e08b14b6 100644
--- a/include/openssl/evperr.h
+++ b/include/openssl/evperr.h
@@ -96,7 +96,7 @@
# define EVP_R_NULL_MAC_PKEY_CTX 208
# define EVP_R_ONLY_ONESHOT_SUPPORTED 177
# define EVP_R_OPERATION_NOT_SUPPORTED_FOR_THIS_KEYTYPE 150
-# define EVP_R_OPERATON_NOT_INITIALIZED 151
+# define EVP_R_OPERATION_NOT_INITIALIZED 151
# define EVP_R_OUTPUT_WOULD_OVERFLOW 202
# define EVP_R_PARAMETER_TOO_LARGE 187
# define EVP_R_PARTIALLY_OVERLAPPING 162