Skip to content

Commit 3a076dd

Browse files
committed
Fix clang error
1 parent 84cf23d commit 3a076dd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/wp_kbkdf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ static int wp_kdf_kbkdf_derive(wp_KbkdfCtx* ctx, unsigned char* key,
442442
}
443443
}
444444
if (ok) {
445-
h = EVP_MAC_CTX_get_mac_size(macCtxOrig);
445+
h = (int)EVP_MAC_CTX_get_mac_size(macCtxOrig);
446446
if (h <= 0 || h > WP_MAX_MAC_SIZE) {
447447
ok = 0;
448448
}

0 commit comments

Comments
 (0)