diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2018-02-15 10:29:56 +0100 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2018-02-15 12:25:01 +0100 |
commit | 812b15370613da4768d91b9e566fdf5a30c06805 (patch) | |
tree | 918d213ea11ba8623652b4283df0772dbd8c837f /util | |
parent | 4d921bfb8b4161f735e5d3bc19fae264816c9c40 (diff) |
DRBG: make locking api truly private
In PR #5295 it was decided that the locking api should remain private
and used only inside libcrypto. However, the locking functions were added
back to `libcrypto.num` by `mkdef.pl`, because the function prototypes
were still listed in `internal/rand.h`. (This header contains functions
which are internal, but shared between libcrypto and libssl.)
This commit moves the prototypes to `rand_lcl.h` and changes the names
to lowercase, following the convention therein. It also corrects an
outdated documenting comment.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5375)
Diffstat (limited to 'util')
-rw-r--r-- | util/libcrypto.num | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/util/libcrypto.num b/util/libcrypto.num index c4384e6de7..54560632bc 100644 --- a/util/libcrypto.num +++ b/util/libcrypto.num @@ -4501,8 +4501,5 @@ EVP_sha512_256 4442 1_1_1 EXIST::FUNCTION: EVP_sha512_224 4443 1_1_1 EXIST::FUNCTION: OCSP_basic_sign_ctx 4444 1_1_1 EXIST::FUNCTION:OCSP RAND_DRBG_bytes 4445 1_1_1 EXIST::FUNCTION: -RAND_DRBG_lock 4446 1_1_1 EXIST::FUNCTION: -RAND_DRBG_unlock 4447 1_1_1 EXIST::FUNCTION: -RAND_DRBG_enable_locking 4448 1_1_1 EXIST::FUNCTION: -RAND_DRBG_secure_new 4449 1_1_1 EXIST::FUNCTION: -OSSL_STORE_vctrl 4450 1_1_1 EXIST::FUNCTION: +RAND_DRBG_secure_new 4446 1_1_1 EXIST::FUNCTION: +OSSL_STORE_vctrl 4447 1_1_1 EXIST::FUNCTION: |