summaryrefslogtreecommitdiffstats
path: root/providers/implementations/macs/cmac_prov.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/implementations/macs/cmac_prov.c')
-rw-r--r--providers/implementations/macs/cmac_prov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/macs/cmac_prov.c b/providers/implementations/macs/cmac_prov.c
index 85625c8681..4f8450475c 100644
--- a/providers/implementations/macs/cmac_prov.c
+++ b/providers/implementations/macs/cmac_prov.c
@@ -99,7 +99,7 @@ static size_t cmac_size(void *vmacctx)
{
struct cmac_data_st *macctx = vmacctx;
- return EVP_CIPHER_CTX_block_size(CMAC_CTX_get0_cipher_ctx(macctx->ctx));
+ return EVP_CIPHER_CTX_get_block_size(CMAC_CTX_get0_cipher_ctx(macctx->ctx));
}
static int cmac_setkey(struct cmac_data_st *macctx,