summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_lib.c
diff options
context:
space:
mode:
authorschwarze <>2021-11-10 13:57:42 +0000
committerschwarze <>2021-11-10 13:57:42 +0000
commitf4a5a07e50a5a0f27254d03bdf06838d718fed07 (patch)
treeac9b43ba8da53df491ad7a1a945cc9e04e5380b5 /src/lib/libcrypto/dsa/dsa_lib.c
parent9b0d17c7e0c52e06c77513dcea41c96ddc84e6c5 (diff)
downloadopenbsd-f4a5a07e50a5a0f27254d03bdf06838d718fed07.tar.gz
openbsd-f4a5a07e50a5a0f27254d03bdf06838d718fed07.tar.bz2
openbsd-f4a5a07e50a5a0f27254d03bdf06838d718fed07.zip
If X509_load_cert_crl_file(3) does not find any certificates
and/or CRLs in the PEM input file (for example, if the file is empty), provide an error message in addition to returning 0. This merges another part of this OpenSSL commit, which is still under a free license: commit c0452248ea1a59a41023a4765ef7d9825e80a62b Author: Rich Salz <rsalz@openssl.org> Date: Thu Apr 20 15:33:42 2017 -0400 I did *not* add the similar message types X509_R_NO_CERTIFICATE_FOUND and X509_R_NO_CRL_FOUND because both code inspection and testing have shown that the code generating them is unreachable. OK tb@
Diffstat (limited to 'src/lib/libcrypto/dsa/dsa_lib.c')
0 files changed, 0 insertions, 0 deletions