diff options
author | Pedro Monreal <pmgdeb@gmail.com> | 2021-03-04 17:01:50 +0100 |
---|---|---|
committer | Pauli <ppzgs1@gmail.com> | 2021-03-11 12:19:40 +1000 |
commit | bf23b9a163658496c3cabb1d0a00a88b94aede0a (patch) | |
tree | 598380f1b369e64dbcb43e5f21fb086689668847 /crypto/evp/signature.c | |
parent | 903a6558471812c8884a8ba279ad96dc29ccd4b0 (diff) |
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 'crypto/evp/signature.c')
-rw-r--r-- | crypto/evp/signature.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crypto/evp/signature.c b/crypto/evp/signature.c index 277e972414..d6d96908ab 100644 --- a/crypto/evp/signature.c +++ b/crypto/evp/signature.c @@ -555,7 +555,7 @@ int EVP_PKEY_sign(EVP_PKEY_CTX *ctx, } if (ctx->operation != EVP_PKEY_OP_SIGN) { - ERR_raise(ERR_LIB_EVP, EVP_R_OPERATON_NOT_INITIALIZED); + ERR_raise(ERR_LIB_EVP, EVP_R_OPERATION_NOT_INITIALIZED); return -1; } @@ -594,7 +594,7 @@ int EVP_PKEY_verify(EVP_PKEY_CTX *ctx, } if (ctx->operation != EVP_PKEY_OP_VERIFY) { - ERR_raise(ERR_LIB_EVP, EVP_R_OPERATON_NOT_INITIALIZED); + ERR_raise(ERR_LIB_EVP, EVP_R_OPERATION_NOT_INITIALIZED); return -1; } @@ -631,7 +631,7 @@ int EVP_PKEY_verify_recover(EVP_PKEY_CTX *ctx, } if (ctx->operation != EVP_PKEY_OP_VERIFYRECOVER) { - ERR_raise(ERR_LIB_EVP, EVP_R_OPERATON_NOT_INITIALIZED); + ERR_raise(ERR_LIB_EVP, EVP_R_OPERATION_NOT_INITIALIZED); return -1; } |