X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=providers%2Fimplementations%2Finclude%2Fprov%2Fciphercommon.h;fp=providers%2Fimplementations%2Finclude%2Fprov%2Fciphercommon.h;h=55adf3caa2f590cc034943125aa942a4b1ff29b0;hp=18bb5790267262d82e183e6f118e6e6d667baa4b;hb=978cc3648d02551c6ada328708306dad2d3ce07a;hpb=1ae7354c049cb3e45bfb17c0c1bf3ff04814fa4d diff --git a/providers/implementations/include/prov/ciphercommon.h b/providers/implementations/include/prov/ciphercommon.h index 18bb579026..55adf3caa2 100644 --- a/providers/implementations/include/prov/ciphercommon.h +++ b/providers/implementations/include/prov/ciphercommon.h @@ -175,7 +175,8 @@ static void * alg##_##kbits##_##lcmode##_newctx(void *provctx) \ if (ctx != NULL) { \ cipher_generic_initkey(ctx, kbits, blkbits, ivbits, \ EVP_CIPH_##UCMODE##_MODE, flags, \ - PROV_CIPHER_HW_##alg##_##lcmode(kbits), NULL); \ + PROV_CIPHER_HW_##alg##_##lcmode(kbits), \ + provctx); \ } \ return ctx; \ } \