commit | 517da2f1efc91b179dfb1898f826b18a6a38f547 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@google.com> | Tue May 05 10:27:54 2015 -0700 |
committer | Adam Langley <agl@google.com> | Tue May 05 18:30:03 2015 +0000 |
tree | b8c69fd3f4c035570b0307e357e0d87084522871 | |
parent | e60e2a483b3153f2de462371713cbf16e2764541 [diff] |
Add |BIO_up_ref| and |EVP_PKEY_up_ref|. This avoids callers having to worry about |CRYPTO_add| and what the correct lock to use it with is. (Esp since we'll probably change the way that reference counts work in the future.) Change-Id: I972bf0cc3be6099e0255e64a0fd50249062d1eb4 Reviewed-on: https://boringssl-review.googlesource.com/4623 Reviewed-by: Adam Langley <agl@google.com>