diff options
author | Rich Salz <rsalz@openssl.org> | 2017-06-19 12:58:06 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-06-20 08:12:04 -0400 |
commit | 0ea155fc1c4e6ba3655f435164ea3f884883df29 (patch) | |
tree | ce65d1e7d33585e961b598b74bd0e22ffa2e2bca /crypto/rand/rand_err.c | |
parent | 7447c49f0db741f886a9a187e29deef2e2e394db (diff) |
Add RAND_UNIMPLEMENTED error code
See old GitHub PR 38.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3714)
Diffstat (limited to 'crypto/rand/rand_err.c')
-rw-r--r-- | crypto/rand/rand_err.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/rand/rand_err.c b/crypto/rand/rand_err.c index 177a109498..6888ed9d9b 100644 --- a/crypto/rand/rand_err.c +++ b/crypto/rand/rand_err.c @@ -19,6 +19,8 @@ static const ERR_STRING_DATA RAND_str_functs[] = { }; static const ERR_STRING_DATA RAND_str_reasons[] = { + {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_FUNC_NOT_IMPLEMENTED), + "Function not implemented"}, {ERR_PACK(ERR_LIB_RAND, 0, RAND_R_PRNG_NOT_SEEDED), "PRNG not seeded"}, {0, NULL} }; |