[PATCH] client-side TLS 1.2 support

Daiki Ueno ueno at unixuser.org
Mon Aug 31 14:14:14 CEST 2009


>>>>> In <87zl9gdxte.fsf at mocca.josefsson.org> 
>>>>>	Simon Josefsson <simon at josefsson.org> wrote:
> >  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.

OK, here it is:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Define-constants-for-known-SignatureAndHashAlgorithm.patch
Type: text/x-diff
Size: 2332 bytes
Desc: not available
URL: </pipermail/attachments/20090831/cda821ee/attachment.patch>
-------------- next part --------------

Regards,
-- 
Daiki Ueno


More information about the Gnutls-devel mailing list