[gnutls-devel] [PATCH] Fix unused variable warning without PKCS#11 support.
Nikos Mavrogiannopoulos
nmav at gnutls.org
Tue May 27 09:34:56 CEST 2014
Applied, thank you.
On Tue, May 27, 2014 at 1:17 AM, Hani Benhabiles <kroosec at gmail.com> wrote:
> Signed-off-by: Hani Benhabiles <hani at linux.com>
> ---
> lib/x509/verify-high.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/x509/verify-high.c b/lib/x509/verify-high.c
> index 9bae145..dd2e2b4 100644
> --- a/lib/x509/verify-high.c
> +++ b/lib/x509/verify-high.c
> @@ -677,9 +677,9 @@ int
> gnutls_x509_trust_list_get_issuer(gnutls_x509_trust_list_t list,
> gnutls_x509_crt_t * issuer,
> unsigned int flags)
> {
> +#ifdef ENABLE_PKCS11
> int ret;
>
> -#ifdef ENABLE_PKCS11
> if (list->pkcs11_token) {
> gnutls_datum_t der = {NULL, 0};
> /* use the token for verification */
> --
> 1.8.3.2
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20140527/9e2d1849/attachment.html>
More information about the Gnutls-devel
mailing list