|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-06-13 15:41 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 12 17:00:01 2025 UTC |
line 1419 of openssl.c from current cvs: if (cert && !X509_check_private_key(cert, key)) { should read: if (cert && !X509_check_private_key(cert, priv_key)) { patch: *** openssl.c Fri May 17 06:42:39 2002 --- openssl.c.edk Thu Jun 13 13:15:15 2002 *************** *** 1416,1422 **** zend_error(E_WARNING, "cannot get private key from parameter 3"); goto cleanup; } ! if (cert && !X509_check_private_key(cert, key)) { zend_error(E_WARNING, "private key does not correspond to signing cert"); goto cleanup; } --- 1416,1422 ---- zend_error(E_WARNING, "cannot get private key from parameter 3"); goto cleanup; } ! if (cert && !X509_check_private_key(cert, priv_key)) { zend_error(E_WARNING, "private key does not correspond to signing cert"); goto cleanup; } thanks