Make sure the return value of by_file_ctrl(..., X509_L_FILE_LOAD, ...)
authorBodo Möller <bodo@openssl.org>
Thu, 17 Feb 2000 21:04:40 +0000 (21:04 +0000)
committerBodo Möller <bodo@openssl.org>
Thu, 17 Feb 2000 21:04:40 +0000 (21:04 +0000)
commit5c2ec54f120270d1edc5ec7caa6384355a670355
tree37a4ca1974cc9861f45259c7bf6da904d7ec0d3f
parent73c55919443640e0856d4e80be9b7123fc270b02
Make sure the return value of by_file_ctrl(..., X509_L_FILE_LOAD, ...)
aka X509_LOOKUP_load_file(...) is always 0 or 1, not the counter
returned from the recently introduced function X509_load_cert_crl_file.
X509_STORE_load_locations expects X509_LOOKUP_load_file to return 1 on
success, and possibly there's other software that relies on this too.
crypto/x509/by_file.c