Skip to content

Commit fe29b81

Browse files
committed
Merge branch 'PHP-5.6'
* PHP-5.6: hexadecimal is case*in*sensitive Conflicts: ext/openssl/xp_ssl.c
2 parents 94a70b9 + 1de1ff7 commit fe29b81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/openssl/xp_ssl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ static int php_x509_fingerprint_cmp(X509 *peer, const char *method, const char *
313313

314314
fingerprint = php_openssl_x509_fingerprint(peer, method, 0);
315315
if (fingerprint) {
316-
result = strcmp(expected, fingerprint->val);
316+
result = strcasecmp(expected, fingerprint->val);
317317
zend_string_release(fingerprint);
318318
}
319319

0 commit comments

Comments
 (0)