php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | |
Patch 61412.diff for OpenSSL related Bug #61412Patch version 2012-03-16 10:04 UTC Return to Bug #61412 | Download this patchThis patch is obsolete Obsoleted by patches: Patch Revisions: 2012-03-16 10:47 UTC | 2012-03-16 10:04 UTCDeveloper: ab@php.netLine 1 (now 1), was 21 lines, now 9 lines Index: ext/openssl/tests/bug28382.phpt =================================================================== --- ext/openssl/tests/bug28382.phpt (revision 324268) +++ ext/openssl/tests/bug28382.phpt (working copy) @@ -10,6 +10,11 @@ $cert = file_get_contents(dirname(__FILE__) . "/bug28382cert.txt"); $ext = openssl_x509_parse($cert); var_dump($ext['extensions']); +/* openssl 1.0 prepends the string "Full Name:" to the crlDistributionPoints array key. + For now, as this is the one difference only between 0.9.x and 1.x, it's handled with + placeholders to not to duplicate the test. When more diffs come, a duplication would + be probably a better solution. +*/ ?> --EXPECTF-- array(11) { @@ -20,9 +25,7 @@ @@ -20,9 +20,7 @@ ["nsCertType"]=> string(30) "SSL Client, SSL Server, S/MIME" ["crlDistributionPoints"]=> - string(65) " |
Copyright © 2001-2024 The PHP Group All rights reserved. |
Last updated: Thu Apr 18 17:01:28 2024 UTC |