diff options
author | Matt Caswell <matt@openssl.org> | 2020-03-12 15:40:18 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-03-19 12:48:44 +0100 |
commit | cb57f42528ea93c908aeff2d2f2a90c478528add (patch) | |
tree | 1682cfaa79eb701d699daadd14a7ffb7904e5f4a /crypto/evp/evp_err.c | |
parent | Handle the case where there is no digest in an EVP_MD_CTX (diff) | |
download | openssl-cb57f42528ea93c908aeff2d2f2a90c478528add.tar.xz openssl-cb57f42528ea93c908aeff2d2f2a90c478528add.zip |
Make sure we use the libctx when fetching a MAC
We were doing an EVP_MAC_fetch without using the correct libctx.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/11354)
Diffstat (limited to 'crypto/evp/evp_err.c')
-rw-r--r-- | crypto/evp/evp_err.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/evp/evp_err.c b/crypto/evp/evp_err.c index 62ca87c683..20921710ee 100644 --- a/crypto/evp/evp_err.c +++ b/crypto/evp/evp_err.c @@ -1,6 +1,6 @@ /* * Generated by util/mkerr.pl DO NOT EDIT - * Copyright 1995-2019 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-2020 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the Apache License 2.0 (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -64,6 +64,7 @@ static const ERR_STRING_DATA EVP_str_reasons[] = { "expecting a poly1305 key"}, {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_EXPECTING_A_SIPHASH_KEY), "expecting a siphash key"}, + {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_FETCH_FAILED), "fetch failed"}, {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_FINAL_ERROR), "final error"}, {ERR_PACK(ERR_LIB_EVP, 0, EVP_R_FIPS_MODE_NOT_SUPPORTED), "fips mode not supported"}, |