summaryrefslogtreecommitdiffstats
path: root/engines/e_dasync.c
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2016-03-09 00:12:53 +0100
committerMatt Caswell <matt@openssl.org>2016-03-09 02:20:53 +0100
commit2f781956779d64e32f3cfb0016a532de2bb6dc89 (patch)
tree406b7d57ba4cc95db058936524f822c28b61492f /engines/e_dasync.c
parentMove variable declaration to the start of the function (diff)
downloadopenssl-2f781956779d64e32f3cfb0016a532de2bb6dc89.tar.xz
openssl-2f781956779d64e32f3cfb0016a532de2bb6dc89.zip
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>
Diffstat (limited to 'engines/e_dasync.c')
-rw-r--r--engines/e_dasync.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/e_dasync.c b/engines/e_dasync.c
index 1f5cc0215b..0e10f6dfdd 100644
--- a/engines/e_dasync.c
+++ b/engines/e_dasync.c
@@ -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;
}