Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix possible crash; patch by Kamesh Jayachandran | Wez Furlong | 2004-10-27 | 1 | -0/+1 |
| | |||||
* | Fix for Bug #29418 (double free when openssl_csr_new fails). | Wez Furlong | 2004-10-26 | 1 | -1/+7 |
| | | | | | | | Also hook up MSHUTDOWN function which appears to have never been enabled. Patch by Kamesh Jayachandran | ||||
* | - Fixed bug #26447 (--with-openssl=shared causes compile errors).NEWS | foobar | 2003-11-29 | 2 | -5/+9 |
| | |||||
* | Fix uninitialized value. | Wez Furlong | 2003-10-13 | 1 | -1/+1 |
| | | | | | Patch from Joe Orton. | ||||
* | "Fix" for bug #25614. | Wez Furlong | 2003-09-23 | 2 | -5/+22 |
| | | | | | | | | The openssl_pkey_get_public() doesn't work as advertized in the docs; it can't get a public key from a private key (because a key is a key), but would return the private key anyway. The function was originally designed to get the public key from a certificate. | ||||
* | - Backported several improvements/cleanups for the build/configure stuff. | foobar | 2003-08-27 | 2 | -11/+1 |
| | | | | | | | | . PEAR dependancies checked during configure . OpenSSL config moved from configure.in to ext/openssl/config0.m4 (and also improved the PHP_OPENSSL_SETUP macro a bit) + Some other minor issues | ||||
* | MFH: fixed certificate version, serial number not always 0. | Stefan Roehrich | 2003-07-13 | 1 | -5/+5 |
| | |||||
* | MFH | foobar | 2003-06-27 | 1 | -1/+1 |
| | |||||
* | This commit was manufactured by cvs2svn to create branch 'PHP_4_3'. | SVN Migration | 2003-06-24 | 1 | -0/+17 |
| | |||||
* | Fixed compile warnings. | Ilia Alshanetsky | 2003-06-08 | 1 | -3/+3 |
| | |||||
* | Avoid potential segfault when preparing an SSL stream. | Wez Furlong | 2003-05-05 | 1 | -1/+1 |
| | |||||
* | Really fix dll linkage, and fix TSRMLS usage. | Wez Furlong | 2003-05-01 | 2 | -8/+6 |
| | |||||
* | Fix win32 build of shared openssl extension. | Wez Furlong | 2003-04-29 | 2 | -4/+21 |
| | |||||
* | MFH | Ilia Alshanetsky | 2003-04-28 | 1 | -4/+4 |
| | |||||
* | Fix the lack of SSL certificate verification support for ssl:// sockets and | Wez Furlong | 2003-04-26 | 2 | -0/+231 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https:// streams. This code is essential for people writing secure applications in order to avoid man-in-the-middle attacks, and is thus regarded as a bug fix. It is, however, optional; you need to explicitly turn on the verification functionality, as it depends on you to specify your trusted certificate chain. This sample demonstrates a secured https:// request, making use of the CA bundle provided by curl: <?php $ctx = stream_context_create(); // Turn on verification stream_context_set_option($ctx, "ssl", "verify_peer", true); // Set the CA bundle (trusted certificate chain) stream_context_set_option($ctx, "ssl", "cafile", "/usr/local/share/curl/curl-ca-bundle.crt"); $fp = fopen("https://www.zend.com", "rb", false, $ctx); ?> This sample demonstrates how to roll your own https:// request, and specify a certificate to use for authentication; the local_cert and passphrase options will also work for fopen(). <?php $ctx = stream_context_create(); stream_context_set_option($ctx, "ssl", "verify_peer", true); stream_context_set_option($ctx, "ssl", "cafile", "/usr/local/share/curl/curl-ca-bundle.crt"); // set local cert. it MUST be a PEM encoded file containing the certificate // AND your private key. It can also contain the certificate chain of issuers. stream_context_set_option($ctx, "ssl", "local_cert", "/path/to/my/cert.pem"); stream_context_set_option($ctx, "ssl", "passphrase", "secret!"); // Set the common name that we are expecting; PHP will perform limited wildcard // matching. If the CN does not match this, the connection attempt will fail. // The value to specify will always be the same as the Host: header you specify. stream_context_set_option($ctx, "ssl", "CN_match", "secure.sample.domain"); $ssl = fsockopen("ssl://secure.sample.domain", 443, $errno, $errstr, 10, $ctx); if ($ssl) { fwrite($ssl, "GET / HTTP/1.0\r\nHost: secure.sample.domain\r\n\r\n"); fpassthru($ssl); } ?> | ||||
* | 64-bit correction to variables passed to zend_parse_parameters | David Hill | 2003-03-07 | 1 | -27/+28 |
| | | | | | @64-bit correction to variables passed to zend_parse_parameters (Dave) | ||||
* | MFH | Ilia Alshanetsky | 2003-01-31 | 1 | -13/+9 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2002-12-31 | 2 | -2/+2 |
| | |||||
* | Fixed ZTS build. | Ilia Alshanetsky | 2002-12-12 | 1 | -1/+1 |
| | |||||
* | MFH more entropy "fix" | Wez Furlong | 2002-12-12 | 1 | -0/+9 |
| | |||||
* | MFH | Marcus Boerger | 2002-12-12 | 1 | -1/+1 |
| | |||||
* | MFH #20936 fix | Wez Furlong | 2002-12-12 | 2 | -2/+69 |
| | |||||
* | MFH: ws, php_error_docref, typeconversion for cygwin | Marcus Boerger | 2002-12-12 | 1 | -202/+200 |
| | |||||
* | No longer experimental. | Wez Furlong | 2002-12-10 | 1 | -5/+0 |
| | |||||
* | Fix proto and avoid potential segfault on an error. | Wez Furlong | 2002-12-10 | 1 | -3/+3 |
| | |||||
* | Fixed windows build. Symbol PHP_EXPORTS is a no-no for dynamically | Edin Kadribasic | 2002-11-11 | 1 | -4/+4 |
| | | | | | linked extensions. | ||||
* | Fixed bug #19935. Made OpenSSL file system operations abide by safe_mode | Ilia Alshanetsky | 2002-11-10 | 1 | -6/+70 |
| | | | | | & open_basedir restrictions. | ||||
* | correct proto | Wez Furlong | 2002-08-10 | 1 | -1/+1 |
| | |||||
* | syntax highlighting for vim | Wez Furlong | 2002-08-09 | 1 | -1/+2 |
| | |||||
* | Fixed bug: #18295. e_os.h is not supposed to be included.. | foobar | 2002-07-12 | 1 | -3/+4 |
| | |||||
* | Fixed bug: #17751 (typo) | foobar | 2002-06-13 | 1 | -1/+1 |
| | |||||
* | proto tweak | Wez Furlong | 2002-05-17 | 1 | -1/+1 |
| | |||||
* | Fix for #16885 | Wez Furlong | 2002-05-01 | 1 | -0/+2 |
| | |||||
* | Probable fix for #16940. | Wez Furlong | 2002-05-01 | 1 | -3/+6 |
| | |||||
* | Remove compiler warnings | Yasuo Ohgaki | 2002-04-19 | 1 | -5/+5 |
| | |||||
* | fix build with ZE2 | Wez Furlong | 2002-04-12 | 1 | -5/+5 |
| | |||||
* | Add subject hash to parsed x509 data. | Wez Furlong | 2002-03-28 | 2 | -3/+10 |
| | | | | | Make the test use file_get_contents(). | ||||
* | Fix regular openssl_pkey_get_private($content, $phrase) syntax and | Wez Furlong | 2002-03-26 | 3 | -2/+80 |
| | | | | | | add test case. This stuff should be merged into the 4.2 branch. | ||||
* | - Make it possible to build ext/openssl as shared extension | foobar | 2002-03-20 | 1 | -2/+4 |
| | |||||
* | extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed | Sascha Schumann | 2002-03-12 | 2 | -8/+1 |
| | |||||
* | Maintain headers. | Sebastian Bergmann | 2002-02-28 | 1 | -2/+2 |
| | |||||
* | - Fix for openssl_pkcs7_sign segfaults | Derick Rethans | 2002-01-31 | 1 | -1/+1 |
| | | | | | (patch by Christian Stocker <chregu@php.net>) | ||||
* | Update headers. | Sebastian Bergmann | 2001-12-11 | 2 | -4/+4 |
| | |||||
* | proto fix | Hartmut Holzgraefe | 2001-12-07 | 1 | -1/+1 |
| | |||||
* | proto fixes | Hartmut Holzgraefe | 2001-12-06 | 1 | -5/+5 |
| | |||||
* | Unified the configure messages. | foobar | 2001-11-30 | 1 | -1/+2 |
| | |||||
* | * zend_module_entry change: apino, debug and zts are moved first, | Stig Bakken | 2001-10-11 | 1 | -0/+2 |
| | | | | | | see README.EXTENSIONS file for upgrade help. @Introduced extension version numbers (Stig) | ||||
* | nuke unnecessary force-by-ref declarations + name the needed in a proper way | Daniel Beulshausen | 2001-10-05 | 1 | -18/+14 |
| | |||||
* | use maxpathlen instead of path_max | Daniel Beulshausen | 2001-10-04 | 1 | -7/+9 |
| | |||||
* | Didn't compile, replaced some TSRMLS_C with TSRMLS_CC | Stig Venaas | 2001-09-30 | 1 | -7/+7 |
| |