Avoid scan-build warning about uninitialized htonl() arguments.

Josh Kupershmidt
This commit is contained in:
Noah Misch 2015-10-11 20:42:26 -04:00
parent 03a22f8b1d
commit dfa1cddc4c
1 changed files with 2 additions and 0 deletions

View File

@ -635,6 +635,8 @@ des_cipher(const char *in, char *out, long salt, int count)
rawr = ntohl(buffer[1]);
retval = do_des(rawl, rawr, &l_out, &r_out, count);
if (retval)
return (retval);
buffer[0] = htonl(l_out);
buffer[1] = htonl(r_out);