X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fcmac%2Fcm_pmeth.c;h=c581e789f7a0cf4bcc25fe74b43497e9cc830882;hb=b3310161249a848a5243952467a1f3927ad78bfa;hp=585fc8e4bb7266baac3d25949c863fcb29ef92aa;hpb=c8ef656df28d1d21e5168191f959764da3a97122;p=oweals%2Fopenssl.git diff --git a/crypto/cmac/cm_pmeth.c b/crypto/cmac/cm_pmeth.c index 585fc8e4bb..c581e789f7 100644 --- a/crypto/cmac/cm_pmeth.c +++ b/crypto/cmac/cm_pmeth.c @@ -138,7 +138,7 @@ static int pkey_cmac_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) break; case EVP_PKEY_CTRL_CIPHER: - if (!CMAC_Init(cmctx, NULL, 0, p2, NULL)) + if (!CMAC_Init(cmctx, NULL, 0, p2, ctx->engine)) return 0; break;