diff --git a/lib/vtls/openssl.c b/lib/vtls/openssl.c index c719de5c6..70cfb84af 100644 --- a/lib/vtls/openssl.c +++ b/lib/vtls/openssl.c @@ -2250,11 +2250,11 @@ static int X509V3_ext(struct SessionHandle *data, int i; size_t j; - if(sk_X509_EXTENSION_num(exts) <= 0) + if((int)sk_X509_EXTENSION_num(exts) <= 0) /* no extensions, bail out */ return 1; - for(i=0; i