projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OPENSSL_init_crypto(): check config return code correctly
[oweals/openssl.git]
/
crypto
/
des
/
fcrypt.c
diff --git
a/crypto/des/fcrypt.c
b/crypto/des/fcrypt.c
index 526a9edfb04ba780eee98261963b78340b0673e5..aaee4bf236a532f03c4bb9625a12029b2499998d 100644
(file)
--- a/
crypto/des/fcrypt.c
+++ b/
crypto/des/fcrypt.c
@@
-77,7
+77,7
@@
char *DES_crypt(const char *buf, const char *salt)
/* Convert password to ASCII. */
OPENSSL_strlcpy(e_buf, buf, sizeof(e_buf));
/* Convert password to ASCII. */
OPENSSL_strlcpy(e_buf, buf, sizeof(e_buf));
- ebcdic2ascii(e_buf, e_buf, sizeof
e_buf
);
+ ebcdic2ascii(e_buf, e_buf, sizeof
(e_buf)
);
/* Encrypt it (from/to ASCII); if it worked, convert back. */
ret = DES_fcrypt(e_buf, e_salt, buff);
/* Encrypt it (from/to ASCII); if it worked, convert back. */
ret = DES_fcrypt(e_buf, e_salt, buff);