Commit Graph

170 Commits

Author SHA1 Message Date
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
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
dfa9ff5624 Add unicode suport to ext/openssl 2008-07-18 23:59:49 +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
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
Etienne Kneuss
5f4e5fa60a Fix protos 2008-05-04 21:16:22 +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
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
Pierre Joye
0f55627dee - MFB: #42222, truncate the _default to the buffer size (was 200 since day #1, we don't need dynamic alloc here) 2007-08-06 19:13:05 +00:00
Dmitry Stogov
a433f85ce1 Improved ext/openssl
. Added support for OpenSSL digest functions
  . Added support for OpenSSL cipher functions
  . Added access to internal values of DSA, RSA and DH keys
2007-08-06 08:43:43 +00:00
Dmitry Stogov
35cdce9e02 Unicode support
improved openssl_x509_parse() extensions support
2007-07-11 12:10:28 +00:00
Dmitry Stogov
27737a9c45 Fixed memory leak 2007-07-11 07:35:53 +00:00
Dmitry Stogov
f54b1377a2 Fixed crash on non-string passphrase and unicode support 2007-07-11 07:27:20 +00:00
Dmitry Stogov
a84dbc7cb6 Fixed bug #41353 2007-07-10 07:57:15 +00:00
Pierre Joye
8a4c51e17a - MFB: Fixed a memory leak inside load_all_certs_file() 2007-06-20 05:27:38 +00:00
Ilia Alshanetsky
3821f0c45a MFB 2007-05-28 23:33:13 +00:00
Pierre Joye
2a10caedcf - MFB: enable DSA key if HAVE_DSA_DEFAULT_METHOD is set 2007-05-28 13:53:54 +00:00
Pierre Joye
0f7a838d0b - #41423, PHP assumes wrongly that certain ciphers are enabled in OpenSSL 2007-05-19 22:04:27 +00:00
Rob Richards
fcff9a5dd3 fix win32 build 2007-04-05 18:09:48 +00:00
Antony Dovgal
5273aea4d2 fix build & test
improve coding style
2007-04-05 07:24:21 +00:00
Pierre Joye
5a0cf57fb7 - MFB:
- implement #39867, PKCS#12 support
 - Fix possible multibyte issues issue in the add_assoc function
 - add test for openssl_csr_get_subject
2007-04-04 21:39:01 +00:00
Marcus Boerger
20a40063c5 - avoid sprintf 2007-02-24 16:25:58 +00:00
Rob Richards
e053dcc066 fix accessing public key from x509 resource
add test
fix test under win32
2007-01-19 19:23:20 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Pierre Joye
95b56a6eda - add signature_algo to the function signature 2006-10-21 00:43:00 +00:00
Pierre Joye
c808d70bb3 - #39217, use openssl i2s_ASN1_INTEGER to get a string representation of
the integer (large or not). It also keeps BC by using only decimal fmt
- add test
2006-10-21 00:28:56 +00:00
Antony Dovgal
50eac21f67 fix #39217 (serialNumber is might be -1 when the value is too big) 2006-10-20 23:21:07 +00:00
Antony Dovgal
8799fe1b60 fix compile warning 2006-10-15 21:10:10 +00:00
Hannes Magnusson
31212f9c0b MFB5.2
Constants:
 - OPENSSL_VERSION_TEXT
 - OPENSSL_VERSION_NUMBER
 - OPENSSL_KEYTYPE_EC
 Functions:
 - openssl_pkey_get_details()
 - openssl_csr_get_subject()
 - openssl_csr_get_public_key
2006-10-09 14:43:53 +00:00
Pierre Joye
b16d1861a6 - MFB: fix possible segfault (see test 004) always exists and returns NULL
on error (thx Bjori for the head up)
2006-10-09 00:06:41 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Nuno Lopes
61b043bfd7 MFB 2006-09-16 12:05:43 +00:00
Antony Dovgal
a98f411f80 remove a leftover 2006-09-12 10:53:51 +00:00
Antony Dovgal
49f7759c27 implement feature request #38731 (openssl_pkey_new does not support DSA key generation)
patch by marci at balabit dot hu
2006-09-08 20:09:08 +00:00
Ilia Alshanetsky
cb1ba9379d MFB: Fixed memory leaks in openssl test #004 2006-09-07 14:16:54 +00:00