Unify <TYPE>_up_ref methods signature and behaviour.
authorFdaSilvaYY <fdasilvayy@gmail.com>
Mon, 7 Mar 2016 21:45:58 +0000 (22:45 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 16 May 2016 09:17:33 +0000 (10:17 +0100)
commitc5ebfcab713a82a1d46a51c8c2668c419425b387
treeca8da99a90b24c37c37ce417ad02c1f35e1e1735
parent592b6fb489c97be2b039ab671647aa58a472204a
Unify <TYPE>_up_ref methods signature and behaviour.

Add a status return value instead of void.
Add some sanity checks on reference counter value.
Update the docs.

Reviewed-by: Rich Salz <rsalz@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
15 files changed:
CHANGES
crypto/evp/p_lib.c
crypto/x509/x509_lu.c
crypto/x509/x509_set.c
crypto/x509/x509cset.c
doc/crypto/EVP_PKEY_new.pod
doc/crypto/X509_new.pod
doc/ssl/SSL_CTX_new.pod
doc/ssl/SSL_new.pod
doc/ssl/ssl.pod
include/openssl/evp.h
include/openssl/ssl.h
include/openssl/x509.h
include/openssl/x509_vfy.h
ssl/ssl_lib.c