summaryrefslogtreecommitdiff
path: root/providers/implementations/kdfs/tls1_prf.c
diff options
context:
space:
mode:
Diffstat (limited to 'providers/implementations/kdfs/tls1_prf.c')
-rw-r--r--providers/implementations/kdfs/tls1_prf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/kdfs/tls1_prf.c b/providers/implementations/kdfs/tls1_prf.c
index 315971a96e..aba08068ca 100644
--- a/providers/implementations/kdfs/tls1_prf.c
+++ b/providers/implementations/kdfs/tls1_prf.c
@@ -296,7 +296,7 @@ static int tls1_prf_P_hash(EVP_MAC_CTX *ctx_init,
goto err;
if (!EVP_MAC_init(ctx_init))
goto err;
- chunk = EVP_MAC_size(ctx_init);
+ chunk = EVP_MAC_CTX_get_mac_size(ctx_init);
if (chunk == 0)
goto err;
/* A(0) = seed */