The indexes returned by ***_get_ex_new_index() functions are used when
authorGeoff Thorpe <geoff@openssl.org>
Sun, 12 Aug 2001 16:52:00 +0000 (16:52 +0000)
committerGeoff Thorpe <geoff@openssl.org>
Sun, 12 Aug 2001 16:52:00 +0000 (16:52 +0000)
commitb7727ee616a3351a001497dda077ec63330861db
treecfb5ada448b2a405e2b7b3967a48ba61f690d9aa
parentf0446ca8d746ff138a892588e33597411f59f5fa
The indexes returned by ***_get_ex_new_index() functions are used when
setting stack (actually, array) values in ex_data. So only increment the
global counters if the underlying CRYPTO_get_ex_new_index() call succeeds.
This change doesn't make "ex_data" right (see the comment at the head of
ex_data.c to know why), but at least makes the source code marginally less
frustrating.
crypto/asn1/x_x509.c
crypto/bio/bio_lib.c
crypto/dh/dh_lib.c
crypto/dsa/dsa_lib.c
crypto/rsa/rsa_lib.c
crypto/ui/ui_lib.c
crypto/x509/x509_vfy.c
ssl/ssl_lib.c
ssl/ssl_sess.c