Fix (most) WIN32 warnings and errors.

This commit is contained in:
Dr. Stephen Henson
2006-04-17 12:08:22 +00:00
parent 9ca7047d71
commit c20276e4ae
13 changed files with 95 additions and 14 deletions

View File

@@ -167,7 +167,7 @@ const EVP_PKEY_ASN1_METHOD *EVP_PKEY_asn1_find_str(const char *str, int len)
ameth = EVP_PKEY_asn1_get0(i);
if (ameth->pkey_flags & ASN1_PKEY_ALIAS)
continue;
if ((strlen(ameth->pem_str) == len) &&
if (((int)strlen(ameth->pem_str) == len) &&
!strncasecmp(ameth->pem_str, str, len))
return ameth;
}