Replace the public RAND_DRBG_USED_FLAGS #define by an internal constant
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Tue, 11 Sep 2018 22:37:15 +0000 (00:37 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Wed, 12 Sep 2018 21:48:18 +0000 (23:48 +0200)
commitb262a0022923d48576f72d78d88a008fbe602cdc
treed818d5ada3d4f4f4cbe98c2755b340b2535515f0
parent5538ba99ab785287ad187909dd71f17040dbc180
Replace the public RAND_DRBG_USED_FLAGS #define by an internal constant

The new DRBG API added the aforementioned #define. However, it is
used internally only and having it defined publicly does not serve
any purpose except causing potential version compatibility problems.

Fixes #7182

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/7190)

(cherry picked from commit c402e943cd0d748ca2a74a37caeccdfc59ce2870)
crypto/rand/drbg_lib.c
include/openssl/rand_drbg.h