diff options
author | tb <> | 2023-05-14 17:20:26 +0000 |
---|---|---|
committer | tb <> | 2023-05-14 17:20:26 +0000 |
commit | aa9d3cda02275359ed09de1489478a13b7f096ec (patch) | |
tree | 69decc4ec9a4e726afbb964557dd3c37f7b10d76 /src/lib/libssl/s3_lib.c | |
parent | 3b637bbc558941c414e1d36ef5926415478d7884 (diff) | |
download | openbsd-aa9d3cda02275359ed09de1489478a13b7f096ec.tar.gz openbsd-aa9d3cda02275359ed09de1489478a13b7f096ec.tar.bz2 openbsd-aa9d3cda02275359ed09de1489478a13b7f096ec.zip |
Fix X509error() and X509V3error()
When v3err.c was merged into x509_err.c nearly three years ago, it was
overlooked that the code needed two distinct pairs of ERR_FUNC/ERR_REASON,
one for ERR_LIB_X509 and one for ERR_LIB_X509V3. The result is that the
reason strings for the X509_R_* codes would be overwritten by the ones for
X509V3_R_* with the same value while the reason strings for all X509V3_R_*
would be left undefined.
Fix this by an #undef/#define dance for ERR_LIB_X509V3 once we no longer
the ERR_FUNC/ERR_REASON pair for ERR_LIB_X509.
reported by job
ok jsing
Diffstat (limited to 'src/lib/libssl/s3_lib.c')
0 files changed, 0 insertions, 0 deletions