projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RAND_DRBG: add a function for setting the default DRBG type and flags
[oweals/openssl.git]
/
crypto
/
rand
/
drbg_ctr.c
diff --git
a/crypto/rand/drbg_ctr.c
b/crypto/rand/drbg_ctr.c
index 84425dc4e099b3af464fda1a8246096fe35de831..ac4af331d706f67d051428095c552d81a67aab2b 100644
(file)
--- a/
crypto/rand/drbg_ctr.c
+++ b/
crypto/rand/drbg_ctr.c
@@
-317,7
+317,7
@@
int drbg_ctr_init(RAND_DRBG *drbg)
RAND_DRBG_CTR *ctr = &drbg->data.ctr;
size_t keylen;
- switch (drbg->
nid
) {
+ switch (drbg->
type
) {
default:
/* This can't happen, but silence the compiler warning. */
return 0;