Use correct function ID in error path
This fixes "make update". Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
This commit is contained in:
parent
a060574458
commit
2f78195677
3 changed files with 5 additions and 2 deletions
|
@ -674,7 +674,7 @@ static int dasync_cipher_init_key_helper(EVP_CIPHER_CTX *ctx,
|
|||
pipe_ctx->inner_cipher_data = OPENSSL_zalloc(
|
||||
EVP_CIPHER_impl_ctx_size(cipher));
|
||||
if (pipe_ctx->inner_cipher_data == NULL) {
|
||||
DASYNCerr(DASYNC_F_DASYNC_AES128_INIT_KEY,
|
||||
DASYNCerr(DASYNC_F_DASYNC_CIPHER_INIT_KEY_HELPER,
|
||||
ERR_R_MALLOC_FAILURE);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -75,6 +75,8 @@ static ERR_STRING_DATA DASYNC_str_functs[] = {
|
|||
"dasync_aes128_cbc_hmac_sha1_init_key"},
|
||||
{ERR_FUNC(DASYNC_F_DASYNC_AES128_INIT_KEY), "dasync_aes128_init_key"},
|
||||
{ERR_FUNC(DASYNC_F_DASYNC_BN_MOD_EXP), "DASYNC_BN_MOD_EXP"},
|
||||
{ERR_FUNC(DASYNC_F_DASYNC_CIPHER_INIT_KEY_HELPER),
|
||||
"dasync_cipher_init_key_helper"},
|
||||
{ERR_FUNC(DASYNC_F_DASYNC_MOD_EXP), "DASYNC_MOD_EXP"},
|
||||
{ERR_FUNC(DASYNC_F_DASYNC_PRIVATE_DECRYPT), "DASYNC_PRIVATE_DECRYPT"},
|
||||
{ERR_FUNC(DASYNC_F_DASYNC_PRIVATE_ENCRYPT), "DASYNC_PRIVATE_ENCRYPT"},
|
||||
|
|
|
@ -77,6 +77,7 @@ static void ERR_DASYNC_error(int function, int reason, char *file, int line);
|
|||
# define DASYNC_F_DASYNC_AES128_CBC_HMAC_SHA1_INIT_KEY 109
|
||||
# define DASYNC_F_DASYNC_AES128_INIT_KEY 108
|
||||
# define DASYNC_F_DASYNC_BN_MOD_EXP 101
|
||||
# define DASYNC_F_DASYNC_CIPHER_INIT_KEY_HELPER 110
|
||||
# define DASYNC_F_DASYNC_MOD_EXP 102
|
||||
# define DASYNC_F_DASYNC_PRIVATE_DECRYPT 103
|
||||
# define DASYNC_F_DASYNC_PRIVATE_ENCRYPT 104
|
||||
|
|
Loading…
Reference in a new issue