History log of /PHP-8.2/ext/openssl/tests/bug80747.phpt (Results 1 – 7 of 7)
Revision Date Author Comments
# 974dba3b 21-Jan-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix duplicated FILE section in test bug80747.phpt

Signed-off-by: George Peter Banyard <girgias@php.net>


# cd8bf0b6 05-Aug-2021 Nikita Popov

Relax error check

The precise error is version-dependent, just check that there
is some kind of error reported.


# 13313d9b 05-Aug-2021 Nikita Popov

Use EVP_PKEY APIs for key generation

Use high level API instead of deprecated low level API.


# 74859783 11-Jun-2021 Nikita Popov

Migrate SKIPIF -> EXTENSIONS (#7138)

This is an automated migration of most SKIPIF extension_loaded checks.


# ae0585c9 25-Feb-2021 Remi Collet

skip test with openssl < 1.1.0

The test fails, but without any crash
(this test is designed to catch a crash)


# 75667427 15-Feb-2021 Nikita Popov

Suppress OpenSSL error on missing optional config

openssl_pkey_new() fetches various options from the config file --
most of these are optional, and not specifying them is not an error

Suppress OpenSSL error on missing optional config

openssl_pkey_new() fetches various options from the config file --
most of these are optional, and not specifying them is not an error
condition from the perspective of the user. Unfortunately, the
CONF_get_string() API pushes an error when accessing a key that
doesn't exist (_CONF_get_string does not, but that is presumably a
private API). This commit adds a helper php_openssl_conf_get_string()
that automatically clears the error in this case. I've found that
OpenSSL occasionally does the same thing internally:
https://github.com/openssl/openssl/blob/22040fb790c854cefb04bed98ed38ea6357daf83/apps/req.c#L515-L517

Closes GH-6699.

show more ...


# 64b10854 15-Feb-2021 Nikita Popov

Fixed bug #80747

If RSA key generation fails, actually report that failure.