Files
Nikita Popov 7566742754 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.
2021-02-16 10:11:00 +01:00
..
2020-09-23 10:54:59 +02:00
2021-02-02 10:31:16 +01:00
2021-01-25 10:44:05 +00:00
…
2020-10-26 13:09:30 +01:00
2020-08-31 09:32:55 +02:00
2020-10-30 15:47:18 +01:00
2020-06-23 16:00:11 +02:00
2020-08-24 17:36:50 +02:00
2020-10-15 10:16:56 +02:00
2020-02-03 13:41:31 +01:00
2020-10-09 15:24:53 +02:00
2020-10-22 17:05:07 +01:00
2020-11-27 10:02:00 +01:00
…
2020-07-28 10:27:22 +02:00
2020-10-26 15:40:12 +01:00
2021-02-02 16:46:16 +01:00
2020-10-29 13:09:19 +01:00
2020-10-28 12:18:02 +01:00
2020-02-03 13:41:31 +01:00
2020-08-05 10:39:30 +02:00
2020-08-13 17:25:51 +02:00
2020-05-13 23:25:28 +02:00
2020-11-02 11:39:42 +01:00
2020-08-26 12:11:22 +02:00
2020-08-10 12:25:26 +02:00
2020-01-30 13:06:25 +01:00
2020-10-30 15:47:18 +01:00
2020-02-03 13:41:31 +01:00