| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Clear the OpenSSL error queue before performing SSL stream operations.
As we don't control all code that could possibly be using OpenSSL,
we can't rely on the error queue being empty.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
X509_STORE_add_cert() increments the refcount of the cert, so we
should free it here.
|
| |
|
|
|
|
|
| |
We report our own errors here. Make sure these don't clog up the
error queue.
|
|
|
|
| |
It also fixes invalid setting of tag length
|
|
|
|
| |
The php.net is redirected to https so use nginx.org
|
|
|
|
| |
This is a legimitimate bug and also shows up under valgrind.
|
|
|
|
|
| |
If SSLv3 is disabled in OpenSSL, then sslv3 is not available so the accept
times out. This commit removes the extra accept if SSLv3 is disabled.
|
|
|
|
|
|
|
| |
A behavior change in revealed by some openssl_decrypt() based test,
where an encrypt API is used with a decrypt context. The EVP_Cipher*
functions will automatically choose the right operation depending on the
context passed.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
records)
Simplified version of the fix from Abyl Valg so credit to him.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
The idea is to create an easy way to provide a certificate that never
expires. In order to make it cross-platform, PHP is used rather than
openssl CLI app. Using openssl to generate certificates for tests that
test openssl might be not the best idea but pros seem to outweight cons
that this "recursice dependency" adds
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines in all
*.phpt sections.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch adds missing newlines, trims multiple redundant final
newlines into a single one, and trims redundant leading newlines.
According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.
C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."
Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.
[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add debug message for failing test parts
(cherry picked from commit a45169a6ba54b13484d70cb474679c96347f779b)
Show all unmatched errors when test failed
(cherry picked from commit 70159652541c62b5f3bbb26da76b7e56987b2544)
More possibly colliding libs to remove from the test image
(cherry picked from commit 3008ad1a49210e4604522a987cbdd27a5a0a2c42)
Remove colliding file from CI image
(cherry picked from commit 6220d21c3420ff0d7366d410920ba5279fba3893)
Fix typo
(cherry picked from commit 24517d82cf8dc708d08bc77435ad418de4bdff4e)
|
|\
| |
| |
| |
| | |
* PHP-7.1:
Improve error code matching
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| |
| | |
It has been reported that in some setup the test does multiple
renegotiations which is allowed.
|
| | |
|
|\ \
| |/ |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| | |
Mainly use spaces for indent and fix some other CS issues. Also
drop checks for unsupported OpenSSL library versions.
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
It was the only failing test
|
|\ \
| |/
| |
| |
| | |
* PHP-7.1:
Fix some arginfos
|