2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00

Merge branch 'artem-fix-return-value-x509_store_up_ref' into 'main'

Change X509_STORE_up_ref() shim return value

See merge request isc-projects/bind9!6084
This commit is contained in:
Artem Boldariev 2022-04-05 12:51:00 +00:00
commit 4d57ef0c49

View File

@ -174,7 +174,7 @@ OPENSSL_cleanup(void) {
int
X509_STORE_up_ref(X509_STORE *store) {
return (CRYPTO_add(&store->references, 1, CRYPTO_LOCK_X509_STORE));
return (CRYPTO_add(&store->references, 1, CRYPTO_LOCK_X509_STORE) > 0);
}
#endif /* !HAVE_OPENSSL_CLEANUP */