1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 01:48:26 +02:00
Commit Graph

261 Commits

Author SHA1 Message Date
Dmitry Stogov 798b8e77b1 Fixed test (it failed from time to time because of very small timeouts) 2009-09-22 10:15:10 +00:00
Ilia Alshanetsky d3ae759391 Fixed certificate validation inside php_openssl_apply_verification_policy 2009-09-14 12:50:30 +00:00
Sriram Natarajan 00406ac1ae - Fixed bug #49447 (php engine need to correctly check for socket API
return status on windows). (Sriram Natarajan)
2009-09-04 07:59:48 +00:00
Mikko Koppanen fbe33a1448 Fixes a memory leak in ssl streams. The context was not properly freed 2009-08-22 02:31:23 +00:00
Jani Taskinen c5584b5f68 - Fixed compile failure with older openssl libs (< 0.9.8), fixes bug #49012 2009-07-30 11:32:08 +00:00
Sriram Natarajan eccab28d64 - 48182 ssl handshake fails during asynchronous socket connection 2009-07-28 19:28:08 +00:00
Pierre Joye 6108111d36 - #48116, fix build with openssl 1.0 2009-07-06 23:36:56 +00:00
Mikko Koppanen 573961e6f9 Closes #47991 SSL streams fail if error stack contains items 2009-04-20 09:43:45 +00:00
Scott MacVicar 02bf9e7c2f I wish people would test their changes before comitting, especially since the test is *IDENTICAL* as before just with different formatting. 2009-03-30 22:17:02 +00:00
Pierre Joye 714b0cdef9 - MFB: better test case, it crashes on more architecture 2009-03-30 18:06:22 +00:00
Scott MacVicar c0f87cf4d7 Add test for bug #47828 2009-03-30 09:17:47 +00:00
Scott MacVicar bf22f79452 Fix bug #47828 - Converting to UTF-8 can sometimes fail, check error codes and avoid segfault. 2009-03-29 23:32:17 +00:00
Marcus Boerger d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann 7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Scott MacVicar 88d83aed01 Fix bug #46748, segfault when SSL has more than one error message. 2008-12-08 11:53:30 +00:00
Pierre Joye 2fcfc0e9e3 - mfb: fix title 2008-11-18 02:13:53 +00:00
Pierre Joye 934f3293a6 - MFB: #41033, enable signing with DSA keys 2008-11-18 02:12:48 +00:00
Scott MacVicar 355c955639 Add openssl_random_pseudo_bytes() in order to expose access to a PRG, this wraps around whatever the OS provides.
- OpenBSD uses arc4random()
- Windows uses the Windows Crypto API
- FreeBSD, Linux, etc use /dev/random or /dev/urandom if available
[DOC]
2008-11-17 21:54:20 +00:00
Felipe Pena 43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Pierre Joye 4096353dfe - MFB: skip if pcntl is not present 2008-11-16 23:22:02 +00:00
Pierre Joye 23018b92b8 - #46127, php_openssl_tcp_sockop_accept forgets to set context on accepted stream 2008-11-16 23:03:59 +00:00
Felipe Pena e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Ilia Alshanetsky 726f72a406 MFB: Fixed compiler warning 2008-10-26 14:36:25 +00:00
Felipe Pena 7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Arnaud Le Blanc 51f7cc3925 initialize optional vars 2008-10-21 23:36:17 +00:00
Ilia Alshanetsky af8866961f MFB: Fixed bug #46271 (local_cert option is not resolved to full path) 2008-10-14 23:39:02 +00:00
Rob Richards ad1c02c3f4 initialize keyresource 2008-09-30 14:40:58 +00:00
Scott MacVicar f994f24c58 Show the library version currently loaded as well as the version the extension was compiled with. Useful for checking PHP is using the latest version. 2008-09-18 16:02:09 +00:00
Ilia Alshanetsky f267153613 MFB: Fixed bug #45382 (timeout bug in stream_socket_enable_crypto). 2008-09-11 23:56:57 +00:00
Antony Dovgal cb39231101 fix typo 2008-08-05 14:58:57 +00:00
Antony Dovgal a4c57b7347 fix folding 2008-07-30 11:58:43 +00:00
Henrique do Nascimento Angelo 6e211dc4af Fix tests 2008-07-19 00:02:46 +00:00
Henrique do Nascimento Angelo 745b5695e0 New tests 2008-07-19 00:00:26 +00:00
Henrique do Nascimento Angelo dfa9ff5624 Add unicode suport to ext/openssl 2008-07-18 23:59:49 +00:00
Antony Dovgal 388359bdc7 fix test 2008-07-15 09:14:54 +00:00
Henrique do Nascimento Angelo 93353faf5b Fix error message 2008-07-15 03:21:56 +00:00
Henrique do Nascimento Angelo 1ad5a03d8f Fix uninitilized variables in openssl_pkcs7_encrypt() and openssl_pkcs7_sign() 2008-07-15 03:04:26 +00:00
Henrique do Nascimento Angelo f385e69fdb Fix segfault caused by openssl_pkey_new() in ext/openssl/tests/006.phpt 2008-07-15 02:46:26 +00:00
Antony Dovgal 3519ed9e31 manage references of stream context properly 2008-07-11 10:24:29 +00:00
Henrique do Nascimento Angelo d44509418e Fix a memory leak on openssl_decrypt() 2008-06-28 09:24:18 +00:00
Hannes Magnusson 4b6a31d286 MFB: fix arginfo 2008-06-01 18:25:29 +00:00
Hannes Magnusson 0fcbb305cc MFB: Add arginfo & fix protos 2008-06-01 18:21:05 +00:00
Felipe Pena b3ac16e584 - Removed UEXPECT(F) 2008-05-27 13:54:30 +00:00
Etienne Kneuss 5f4e5fa60a Fix protos 2008-05-04 21:16:22 +00:00
Hannes Magnusson ef552c57de MFB53: Fixed bug#44716 (Progress notifications incorrect) 2008-04-14 12:17:38 +00:00
Joe Orton 8176b6e8f4 Fixed bug #32979 (OpenSSL stream->fd casts broken in 64-bit build)
(stotty at tvnet dot hu)
2008-04-04 12:49:57 +00:00
Antony Dovgal 9dea5a0747 initialize variable 2008-04-02 14:35:16 +00:00
Felipe Pena a1e8d340c3 New macro for check void parameters 2008-02-28 14:16:25 +00:00
Rob Richards f395be9407 fix memleak in sign and verify functions 2008-01-15 15:12:12 +00:00
Rob Richards 2e656bee3b fix crash when using default algorithm 2008-01-09 16:46:52 +00:00