Commit Graph

254 Commits

Author SHA1 Message Date
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
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Nuno Lopes
b514dc1070 MFB: fix compiler warnings 2007-09-29 11:26:51 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Dmitry Stogov
070e0e30b9 Revert ws-breaking patch 2007-09-27 08:28:46 +00:00
Dmitry Stogov
c9ecd0169a Fixed generation on DH publick key for given private key 2007-08-10 10:43:37 +00:00
Pierre Joye
6f7b46afbd - MFB: fix regressio introduced by #42222 2007-08-08 06:30:56 +00:00
Pierre Joye
ac3a73972a - MFB: #42222, forgot this one (thanks mattias) 2007-08-06 19:50:16 +00:00