diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2018-03-15 19:48:43 +0100 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2018-03-16 18:31:30 +0100 |
commit | 31393fd9067a1444fe4b73bfac51ab44d8d344e2 (patch) | |
tree | cdc80daa5de09764ed98cc9f72a81629f49a5d29 /crypto/rand/rand_lcl.h | |
parent | INSTALL: Add a note about backward compatibility and "make variables" (diff) | |
download | openssl-31393fd9067a1444fe4b73bfac51ab44d8d344e2.tar.xz openssl-31393fd9067a1444fe4b73bfac51ab44d8d344e2.zip |
RAND_DRBG: add a function for setting the default DRBG type and flags
This commit adds a new api RAND_DRBG_set_defaults() which sets the
default type and flags for new DRBG instances. See also #5576.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5632)
Diffstat (limited to 'crypto/rand/rand_lcl.h')
-rw-r--r-- | crypto/rand/rand_lcl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/rand_lcl.h b/crypto/rand/rand_lcl.h index 2f1a52bb59..32526fbb54 100644 --- a/crypto/rand/rand_lcl.h +++ b/crypto/rand/rand_lcl.h @@ -116,7 +116,7 @@ struct rand_drbg_st { CRYPTO_RWLOCK *lock; RAND_DRBG *parent; int secure; /* 1: allocated on the secure heap, 0: otherwise */ - int nid; /* the underlying algorithm */ + int type; /* the nid of the underlying algorithm */ int fork_count; unsigned short flags; /* various external flags */ |