gnutls-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Provide a gnutls_x509_crt_verify_hash


From: Nikos Mavrogiannopoulos
Subject: Re: [PATCH] Provide a gnutls_x509_crt_verify_hash
Date: Thu, 26 Mar 2009 20:38:29 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090318)

Cedric BAIL wrote:
> Hi,
> 
>    I am currently using gnutls_x509_crt_verify_data to check the
> signature of a file generated with a GNUTLS_DIG_SHA1. After that I
> compare the SHA1 of the file in a database. So with the current API I
> wasn't able to find a way to do SHA1 computation only one time.
>    I finally decided to implement gnutls_x509_crt_get_hash_algorithm
> and gnutls_x509_crt_verify_hash for this usecase on top of
> gnutls-2.7.6. So as I would like to solve this case in mainline, I
> would appreciate any comment to work on this goal.

I like it. I have only renamed gnutls_x509_crt_get_hash_algorithm() to
gnutls_x509_crt_get_sig_algorithm(). If you are willing to sign the
papers to assign the copyright of this patch to FSF, I'll commit it as soon.

best regards,
Nikos




reply via email to

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