diff options
author | Matt Caswell <matt@openssl.org> | 2019-05-23 16:51:55 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-06-07 12:04:34 +0100 |
commit | 4e297b7441a070f9dd557445665365b4377e9498 (patch) | |
tree | dd38bcc49056319332f1bccbd6f13a93835f7eb3 /include | |
parent | da0d114cd962e89b2614f4707902c404acab7ebd (diff) |
Make the rand_crng code OPENSSL_CTX aware
This is in preparation for moving this code inside the FIPS module.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9039)
Diffstat (limited to 'include')
-rw-r--r-- | include/internal/cryptlib.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/internal/cryptlib.h b/include/internal/cryptlib.h index 9ec1a3777a..585263a173 100644 --- a/include/internal/cryptlib.h +++ b/include/internal/cryptlib.h @@ -147,7 +147,8 @@ typedef struct ossl_ex_data_global_st { # define OPENSSL_CTX_PROPERTY_STRING_INDEX 3 # define OPENSSL_CTX_NAMEMAP_INDEX 4 # define OPENSSL_CTX_DRBG_INDEX 5 -# define OPENSSL_CTX_MAX_INDEXES 6 +# define OPENSSL_CTX_RAND_CRNGT_INDEX 6 +# define OPENSSL_CTX_MAX_INDEXES 7 typedef struct openssl_ctx_method { void *(*new_func)(OPENSSL_CTX *ctx); |