diff options
Diffstat (limited to 'providers/implementations/ciphers/cipher_aes.c')
-rw-r--r-- | providers/implementations/ciphers/cipher_aes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/ciphers/cipher_aes.c b/providers/implementations/ciphers/cipher_aes.c index c62d2d2c29..561377a27b 100644 --- a/providers/implementations/ciphers/cipher_aes.c +++ b/providers/implementations/ciphers/cipher_aes.c @@ -31,7 +31,7 @@ static void *aes_dupctx(void *ctx) ERR_raise(ERR_LIB_PROV, ERR_R_MALLOC_FAILURE); return NULL; } - *ret = *in; + in->base.hw->copyctx(&ret->base, &in->base); return ret; } |