diff options
author | Bernd Edlinger <bernd.edlinger@hotmail.de> | 2024-02-23 10:32:14 +0100 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2024-04-02 17:37:45 +0200 |
commit | 845e6824098cd0845c85af0f19afc904b8f48111 (patch) | |
tree | f6892bf10805ec351b4a4dbee4a07283197bbdf9 /crypto/provider_conf.c | |
parent | c3a008ea937e5a052d06a3576c5c7583033f0c6c (diff) |
Fix openssl req with -addext subjectAltName=dirName
The syntax check of the -addext fails because the
X509V3_CTX is used to lookup the referenced section,
but the wrong configuration file is used, where only
a default section with all passed in -addext lines is available.
Thus it was not possible to use the subjectAltName=dirName:section
as an -addext parameter. Probably other extensions as well.
This change affects only the syntax check, the real extension
was already created with correct parameters.
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23669)
(cherry picked from commit 387418893e45e588d1cbd4222549b5113437c9ab)
Diffstat (limited to 'crypto/provider_conf.c')
0 files changed, 0 insertions, 0 deletions