From 27a9b23d2b4cba13846319e569f6c97c331bff77 Mon Sep 17 00:00:00 2001 From: Takashi Kojo Date: Wed, 22 Mar 2017 10:37:18 +0900 Subject: [PATCH] fix ToTraditionalInline inSz type --- src/ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ssl.c b/src/ssl.c index 111012378..8909a1c62 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -7064,7 +7064,7 @@ WOLFSSL_EVP_PKEY* wolfSSL_d2i_PrivateKey(int type, WOLFSSL_EVP_PKEY** out, return NULL; } - if (ToTraditionalInline((const byte*)(*in), &idx, inSz) > 0) { + if (ToTraditionalInline((const byte*)(*in), &idx, (word32)inSz) > 0) { WOLFSSL_MSG("Found and removed PKCS8 header"); }