Skip to content

Commit 1de1ff7

Browse files
committed
Merge branch 'PHP-5.6' of https://github.com/bjori/php-src into PHP-5.6
* 'PHP-5.6' of https://github.com/bjori/php-src: hexadecimal is case*in*sensitive
2 parents 5dcace0 + 3c2c029 commit 1de1ff7

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
@@ -275,7 +275,7 @@ static int php_x509_fingerprint_cmp(X509 *peer, const char *method, const char *
275275
int result = -1;
276276

277277
if (php_openssl_x509_fingerprint(peer, method, 0, &fingerprint, &fingerprint_len TSRMLS_CC) == SUCCESS) {
278-
result = strcmp(expected, fingerprint);
278+
result = strcasecmp(expected, fingerprint);
279279
efree(fingerprint);
280280
}
281281

0 commit comments

Comments
 (0)