com php-src: hexadecimal is case*in*sensitive: ext/openssl/xp _ssl.c

From: Date: Thu, 05 Mar 2015 00:03:45 +0000
Subject: com php-src: hexadecimal is case*in*sensitive: ext/openssl/xp _ssl.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-85235@lists.php.net to get a copy of this message
Commit: 3c2c029bfd0ca0bae9e9686703a41f4b21c962d1 Author: Hannes Magnusson <bjori@mongodb.com> Wed, 4 Mar 2015 16:03:45 -0800 Parents: 241f3c34b89ab55432d5af3fd1e4217540e161a3 Branches: PHP-5.6 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3c2c029bfd0ca0bae9e9686703a41f4b21c962d1 Log: hexadecimal is case*in*sensitive Changed paths: M ext/openssl/xp_ssl.c Diff: diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index 54f0435..baf5f96 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -275,7 +275,7 @@ static int php_x509_fingerprint_cmp(X509 *peer, const char *method, const char * int result = -1; if (php_openssl_x509_fingerprint(peer, method, 0, &fingerprint, &fingerprint_len TSRMLS_CC) == SUCCESS) { - result = strcmp(expected, fingerprint); + result = strcasecmp(expected, fingerprint); efree(fingerprint); }

« previous php.cvs (#85235) next »