Loading fs/cifs/Kconfig +1 −1 Original line number Diff line number Diff line Loading @@ -156,6 +156,6 @@ config CIFS_ACL config CIFS_NFSD_EXPORT bool "Allow nfsd to export CIFS file system (EXPERIMENTAL)" depends on CIFS && EXPERIMENTAL depends on CIFS && EXPERIMENTAL && BROKEN help Allows NFS server to export a CIFS mounted share (nfsd over cifs) fs/cifs/smbencrypt.c +2 −4 Original line number Diff line number Diff line Loading @@ -90,12 +90,10 @@ smbhash(unsigned char *out, const unsigned char *in, unsigned char *key) sg_init_one(&sgout, out, 8); rc = crypto_blkcipher_encrypt(&desc, &sgout, &sgin, 8); if (rc) { if (rc) cERROR(1, "could not encrypt crypt key rc: %d\n", rc); crypto_free_blkcipher(tfm_des); goto smbhash_err; } crypto_free_blkcipher(tfm_des); smbhash_err: return rc; } Loading Loading
fs/cifs/Kconfig +1 −1 Original line number Diff line number Diff line Loading @@ -156,6 +156,6 @@ config CIFS_ACL config CIFS_NFSD_EXPORT bool "Allow nfsd to export CIFS file system (EXPERIMENTAL)" depends on CIFS && EXPERIMENTAL depends on CIFS && EXPERIMENTAL && BROKEN help Allows NFS server to export a CIFS mounted share (nfsd over cifs)
fs/cifs/smbencrypt.c +2 −4 Original line number Diff line number Diff line Loading @@ -90,12 +90,10 @@ smbhash(unsigned char *out, const unsigned char *in, unsigned char *key) sg_init_one(&sgout, out, 8); rc = crypto_blkcipher_encrypt(&desc, &sgout, &sgin, 8); if (rc) { if (rc) cERROR(1, "could not encrypt crypt key rc: %d\n", rc); crypto_free_blkcipher(tfm_des); goto smbhash_err; } crypto_free_blkcipher(tfm_des); smbhash_err: return rc; } Loading