X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fdes%2Ffcrypt.c;h=aaee4bf236a532f03c4bb9625a12029b2499998d;hb=b7534359306754b90a4f18aa5231477510488713;hp=526a9edfb04ba780eee98261963b78340b0673e5;hpb=26a7d938c9bf932a55cb5e4e02abb48fe395c5cd;p=oweals%2Fopenssl.git diff --git a/crypto/des/fcrypt.c b/crypto/des/fcrypt.c index 526a9edfb0..aaee4bf236 100644 --- 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)); - 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);