Give DH, DSA, and RSA functions to "up" their reference counts. Otherwise,
authorGeoff Thorpe <geoff@openssl.org>
Sat, 25 Aug 2001 17:24:21 +0000 (17:24 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Sat, 25 Aug 2001 17:24:21 +0000 (17:24 +0000)
commit5cbc2e8bc187058e2ec2f17f53c3429c16dbc0d8
tree0a50486525b7a160cf7bc1cbccdb9fe76d295aaa
parente7cf7fcd216e8680200b3e3f9feb112f8c5952f3
Give DH, DSA, and RSA functions to "up" their reference counts. Otherwise,
dependant code has to directly increment the "references" value of each
such structure using the corresponding lock. Apart from code duplication,
this provided no "REF_CHECK/REF_PRINT" checking and violated
encapsulation.
crypto/dh/dh.h
crypto/dh/dh_lib.c
crypto/dsa/dsa.h
crypto/dsa/dsa_lib.c
crypto/rsa/rsa.h
crypto/rsa/rsa_lib.c