Avoid scan-build warning about uninitialized htonl() arguments.
Josh Kupershmidt
This commit is contained in:
parent
03a22f8b1d
commit
dfa1cddc4c
@ -635,6 +635,8 @@ des_cipher(const char *in, char *out, long salt, int count)
|
|||||||
rawr = ntohl(buffer[1]);
|
rawr = ntohl(buffer[1]);
|
||||||
|
|
||||||
retval = do_des(rawl, rawr, &l_out, &r_out, count);
|
retval = do_des(rawl, rawr, &l_out, &r_out, count);
|
||||||
|
if (retval)
|
||||||
|
return (retval);
|
||||||
|
|
||||||
buffer[0] = htonl(l_out);
|
buffer[0] = htonl(l_out);
|
||||||
buffer[1] = htonl(r_out);
|
buffer[1] = htonl(r_out);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user