diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-04-17 12:08:22 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-04-17 12:08:22 +0000 |
commit | c20276e4aef1e716980589c43cf9276abc7ff2b7 (patch) | |
tree | dc4f04b4ea1176b86ab6229cd4338b334ad6496d /crypto/asn1/ameth_lib.c | |
parent | 9ca7047d7141f58b4a4c9e1cdfc0d49301358095 (diff) |
Fix (most) WIN32 warnings and errors.
Diffstat (limited to 'crypto/asn1/ameth_lib.c')
-rw-r--r-- | crypto/asn1/ameth_lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/ameth_lib.c b/crypto/asn1/ameth_lib.c index 4dd0dfa62b..17b3c68fc7 100644 --- a/crypto/asn1/ameth_lib.c +++ b/crypto/asn1/ameth_lib.c @@ -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; } |