diff mbox series

fs/cifs: require sha512

Message ID 20180907162417.31977-1-metze@samba.org
State New
Headers show
Series fs/cifs: require sha512 | expand

Commit Message

Stefan Metzmacher Sept. 7, 2018, 4:24 p.m. UTC
This got lost in commit 0fdfef9aa7ee68ddd508aef7c98630cfc054f8d6,
which removed CONFIG_CIFS_SMB311.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Fixes: 0fdfef9aa7ee68ddd ("smb3: simplify code by removing CONFIG_CIFS_SMB311")
CC: Stable <stable@vger.kernel.org>
CC: linux-cifs@vger.kernel.org
---
 fs/cifs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Steve French Sept. 9, 2018, 5:05 a.m. UTC | #1
merged into cifs-2.6-git for-next
On Fri, Sep 7, 2018 at 11:25 AM Stefan Metzmacher <metze@samba.org> wrote:
>
> This got lost in commit 0fdfef9aa7ee68ddd508aef7c98630cfc054f8d6,
> which removed CONFIG_CIFS_SMB311.
>
> Signed-off-by: Stefan Metzmacher <metze@samba.org>
> Fixes: 0fdfef9aa7ee68ddd ("smb3: simplify code by removing CONFIG_CIFS_SMB311")
> CC: Stable <stable@vger.kernel.org>
> CC: linux-cifs@vger.kernel.org
> ---
>  fs/cifs/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
> index 35c83fe7dba01..abcd78e332feb 100644
> --- a/fs/cifs/Kconfig
> +++ b/fs/cifs/Kconfig
> @@ -6,6 +6,7 @@ config CIFS
>         select CRYPTO_MD4
>         select CRYPTO_MD5
>         select CRYPTO_SHA256
> +       select CRYPTO_SHA512
>         select CRYPTO_CMAC
>         select CRYPTO_HMAC
>         select CRYPTO_ARC4
> --
> 2.17.1
>
Stefan Metzmacher Sept. 10, 2018, 8:32 a.m. UTC | #2
Am 09.09.2018 um 07:05 schrieb Steve French:
> merged into cifs-2.6-git for-next

Is this for 4.19? It's needed at least there, ( or into all places
where 0fdfef9aa7ee68ddd is included.

metze

> On Fri, Sep 7, 2018 at 11:25 AM Stefan Metzmacher <metze@samba.org> wrote:
>>
>> This got lost in commit 0fdfef9aa7ee68ddd508aef7c98630cfc054f8d6,
>> which removed CONFIG_CIFS_SMB311.
>>
>> Signed-off-by: Stefan Metzmacher <metze@samba.org>
>> Fixes: 0fdfef9aa7ee68ddd ("smb3: simplify code by removing CONFIG_CIFS_SMB311")
>> CC: Stable <stable@vger.kernel.org>
>> CC: linux-cifs@vger.kernel.org
>> ---
>>  fs/cifs/Kconfig | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
>> index 35c83fe7dba01..abcd78e332feb 100644
>> --- a/fs/cifs/Kconfig
>> +++ b/fs/cifs/Kconfig
>> @@ -6,6 +6,7 @@ config CIFS
>>         select CRYPTO_MD4
>>         select CRYPTO_MD5
>>         select CRYPTO_SHA256
>> +       select CRYPTO_SHA512
>>         select CRYPTO_CMAC
>>         select CRYPTO_HMAC
>>         select CRYPTO_ARC4
>> --
>> 2.17.1
>>
> 
>
Steve French Sept. 10, 2018, 2:28 p.m. UTC | #3
On Mon, Sep 10, 2018 at 3:32 AM Stefan Metzmacher <metze@samba.org> wrote:
>
> Am 09.09.2018 um 07:05 schrieb Steve French:
> > merged into cifs-2.6-git for-next
>
> Is this for 4.19? It's needed at least there, ( or into all places
> where 0fdfef9aa7ee68ddd is included.

Yes
diff mbox series

Patch

diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
index 35c83fe7dba01..abcd78e332feb 100644
--- a/fs/cifs/Kconfig
+++ b/fs/cifs/Kconfig
@@ -6,6 +6,7 @@  config CIFS
 	select CRYPTO_MD4
 	select CRYPTO_MD5
 	select CRYPTO_SHA256
+	select CRYPTO_SHA512
 	select CRYPTO_CMAC
 	select CRYPTO_HMAC
 	select CRYPTO_ARC4