Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
36024add
Commit
36024add
authored
May 24, 2000
by
David Lawrence
Browse files
made "err" in ssleay_rand_pseudo_bytes unsigned long to match the return value
of ERR_peek_error().
parent
a9bc95f2
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/dns/sec/openssl/md_rand.c
View file @
36024add
...
@@ -479,7 +479,8 @@ static int ssleay_rand_bytes(unsigned char *buf, int num)
...
@@ -479,7 +479,8 @@ static int ssleay_rand_bytes(unsigned char *buf, int num)
unpredictable */
unpredictable */
static
int
ssleay_rand_pseudo_bytes
(
unsigned
char
*
buf
,
int
num
)
static
int
ssleay_rand_pseudo_bytes
(
unsigned
char
*
buf
,
int
num
)
{
{
int
ret
,
err
;
int
ret
;
unsigned
long
err
;
ret
=
RAND_bytes
(
buf
,
num
);
ret
=
RAND_bytes
(
buf
,
num
);
if
(
ret
==
0
)
if
(
ret
==
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment