gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] client-side TLS 1.2 support


From: Simon Josefsson
Subject: Re: [PATCH] client-side TLS 1.2 support
Date: Mon, 31 Aug 2009 13:31:25 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1 (gnu/linux)

Daiki Ueno <address@hidden> writes:

> I'm attaching a set of patches to provide minimal fix for client side
> TLS 1.2 support.  I've confirmed them working against Mike's test
> server:
>
>  $ gnutls-cli --debug 10 --protocols TLS1.2 -p 443 www.mikestoolbox.net

Great!

>  static const gnutls_sign_entry sign_algorithms[] = {
>    {"RSA-SHA", SIG_RSA_SHA1_OID, GNUTLS_SIGN_RSA_SHA1, GNUTLS_PK_RSA,
> -   GNUTLS_MAC_SHA1},
> +   GNUTLS_MAC_SHA1, {2, 1}},
>    {"RSA-SHA256", SIG_RSA_SHA256_OID, GNUTLS_SIGN_RSA_SHA256, GNUTLS_PK_RSA,
> -   GNUTLS_MAC_SHA256},
> +   GNUTLS_MAC_SHA256, {4, 1}},

Please define some constants here instead of using hard coded values.

Otherwise it looks good, I'll apply and test more carefully once you
have fixed the above.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]