diff options
author | Anatol Belski <ab@php.net> | 2014-08-04 09:28:36 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-04 09:28:36 +0200 |
commit | dccbb794451c506e0ec645347096c27ac8fefc63 (patch) | |
tree | 5b58a073aaca30d7f595f88ec6f7ed7118ee1f5a | |
parent | 860f0ca1aac3c389565011580fcfa8a2f5b54bc6 (diff) | |
download | php-git-dccbb794451c506e0ec645347096c27ac8fefc63.tar.gz |
fix macro
-rw-r--r-- | ext/openssl/xp_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/xp_ssl.c b/ext/openssl/xp_ssl.c index 8e13837d03..22c361857a 100644 --- a/ext/openssl/xp_ssl.c +++ b/ext/openssl/xp_ssl.c @@ -284,7 +284,7 @@ static zend_bool php_x509_fingerprint_match(X509 *peer, zval *val TSRMLS_DC) if (Z_TYPE_P(val) == IS_STRING) { const char *method = NULL; - switch (Z_STRLEN_P(val)) { + switch (Z_STRSIZE_P(val)) { case 32: method = "md5"; break; |