[php-src] PR #12979: Fix bug #80269: OpenSSL sets Subject wrong with extraattribs parameter
| From: | bukka | Date: | Tue, 19 Dec 2023 23:34:14 +0000 |
| Subject: | [php-src] PR #12979: Fix bug #80269: OpenSSL sets Subject wrong with extraattribs parameter | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24548@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12979
Author: bukka
The extra_attributes parameter in openssl_csr_new was implemented in a way that does not make much
sense. It behaves like
dn in terms of setting subject entries but the cnf attributes
are set only if this parameter is present. This changes the behavior of this parameter and sets
attributes instead. It also overrides any attributes set in config. That should make the parameter
more useful but it is only for master (requires updating UPGRADING) as it is in some way still BC
break even though it was broken previously.