summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/gost/gost_err.c
diff options
context:
space:
mode:
authormiod <>2014-11-09 19:24:30 +0000
committermiod <>2014-11-09 19:24:30 +0000
commitf2444d1b3e58b48bfb8f82ce985ac63b36d82059 (patch)
tree844587803632407cc9aa4ee2efd17c963141b704 /src/lib/libcrypto/gost/gost_err.c
parent35d7dd4666beda50f5094b8804802132fbe722ef (diff)
downloadopenbsd-f2444d1b3e58b48bfb8f82ce985ac63b36d82059.tar.gz
openbsd-f2444d1b3e58b48bfb8f82ce985ac63b36d82059.tar.bz2
openbsd-f2444d1b3e58b48bfb8f82ce985ac63b36d82059.zip
Replace RAND_bytes() usage with arc4random_buf().
Diffstat (limited to 'src/lib/libcrypto/gost/gost_err.c')
-rw-r--r--src/lib/libcrypto/gost/gost_err.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/libcrypto/gost/gost_err.c b/src/lib/libcrypto/gost/gost_err.c
index a52fe4cd5a..b4e061f985 100644
--- a/src/lib/libcrypto/gost/gost_err.c
+++ b/src/lib/libcrypto/gost/gost_err.c
@@ -120,7 +120,6 @@ static ERR_STRING_DATA GOST_str_reasons[]=
120{ERR_REASON(GOST_R_NO_PEER_KEY) ,"no peer key"}, 120{ERR_REASON(GOST_R_NO_PEER_KEY) ,"no peer key"},
121{ERR_REASON(GOST_R_NO_PRIVATE_PART_OF_NON_EPHEMERAL_KEYPAIR),"no private part of non ephemeral keypair"}, 121{ERR_REASON(GOST_R_NO_PRIVATE_PART_OF_NON_EPHEMERAL_KEYPAIR),"no private part of non ephemeral keypair"},
122{ERR_REASON(GOST_R_PUBLIC_KEY_UNDEFINED) ,"public key undefined"}, 122{ERR_REASON(GOST_R_PUBLIC_KEY_UNDEFINED) ,"public key undefined"},
123{ERR_REASON(GOST_R_RANDOM_GENERATOR_FAILURE),"random generator failure"},
124{ERR_REASON(GOST_R_RANDOM_NUMBER_GENERATOR_FAILED),"random number generator failed"}, 123{ERR_REASON(GOST_R_RANDOM_NUMBER_GENERATOR_FAILED),"random number generator failed"},
125{ERR_REASON(GOST_R_SIGNATURE_MISMATCH) ,"signature mismatch"}, 124{ERR_REASON(GOST_R_SIGNATURE_MISMATCH) ,"signature mismatch"},
126{ERR_REASON(GOST_R_SIGNATURE_PARTS_GREATER_THAN_Q),"signature parts greater than q"}, 125{ERR_REASON(GOST_R_SIGNATURE_PARTS_GREATER_THAN_Q),"signature parts greater than q"},