projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
DRBG: unify initialization and cleanup code
[openssl.git]
/
crypto
/
rand
/
rand_lcl.h
diff --git
a/crypto/rand/rand_lcl.h
b/crypto/rand/rand_lcl.h
index e3c0b76cde5843ace5d0579684c3f6a56fea81d5..a63b28be4ef2d4b39d8db93eede43bcdc460b79d 100644
(file)
--- a/
crypto/rand/rand_lcl.h
+++ b/
crypto/rand/rand_lcl.h
@@
-115,6
+115,7
@@
typedef struct rand_drbg_ctr_st {
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 fork_count;
unsigned short flags; /* various external flags */