diff options
Diffstat (limited to 'providers/implementations/ciphers/cipher_camellia.c')
-rw-r--r-- | providers/implementations/ciphers/cipher_camellia.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/ciphers/cipher_camellia.c b/providers/implementations/ciphers/cipher_camellia.c index cf9af3db32..d796f3635c 100644 --- a/providers/implementations/ciphers/cipher_camellia.c +++ b/providers/implementations/ciphers/cipher_camellia.c @@ -31,7 +31,7 @@ static void *camellia_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; } |