From 2d158bc8942425bf07b9496341c214d75aa06a7c Mon Sep 17 00:00:00 2001 From: ericeberry Date: Mon, 21 Aug 2023 14:31:49 -0700 Subject: [PATCH] Prepare for 1.0.9 (2.3.2.27) release (#47) --- test/main/cpp/exchange.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/main/cpp/exchange.cpp b/test/main/cpp/exchange.cpp index 477e166..4b6b7d9 100644 --- a/test/main/cpp/exchange.cpp +++ b/test/main/cpp/exchange.cpp @@ -403,7 +403,7 @@ static Sec_Result hkdf(SEC_BYTE* key, SEC_SIZE key_len, SEC_BYTE* out, const SEC return SEC_RESULT_FAILURE; } - if (EVP_PKEY_CTX_set1_hkdf_key(pctx, key, key_len) <= 0) { + if (EVP_PKEY_CTX_set1_hkdf_key(pctx, key, static_cast(key_len)) <= 0) { EVP_PKEY_CTX_free(pctx); return SEC_RESULT_FAILURE; }