]> git.ipfire.org Git - thirdparty/openssl.git/commit
Modify ossl_method_store_add() to handle reference counting
authorRichard Levitte <levitte@openssl.org>
Wed, 21 Aug 2019 07:58:10 +0000 (09:58 +0200)
committerRichard Levitte <levitte@openssl.org>
Wed, 21 Aug 2019 23:50:30 +0000 (01:50 +0200)
commitb1d40ddfe23fd9551b89cdcfa52d1c23fc667f8a
tree1eb6cc4b725753f4f20a5e2ded72fcd1a919a114
parentd32d304836caaca475c21a82b94e494898cb60c5
Modify ossl_method_store_add() to handle reference counting

Because this function affects the reference count on failure (the call
to impl_free() does this), it may as well handle incrementing it as
well to indicate the extra reference in the method store.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9650)
crypto/evp/evp_fetch.c
crypto/property/property.c
doc/internal/man3/OSSL_METHOD_STORE.pod
include/internal/property.h
test/property_test.c