]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Fix unused variable warning without PKCS#11 support.
authorHani Benhabiles <kroosec@gmail.com>
Mon, 26 May 2014 23:17:16 +0000 (00:17 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Tue, 27 May 2014 07:33:41 +0000 (09:33 +0200)
Signed-off-by: Hani Benhabiles <hani@linux.com>
lib/x509/verify-high.c

index 9bae14505f5e43b8471c21163531aff090f71edf..dd2e2b479b6cb6b122263d7d9616db0402d399d6 100644 (file)
@@ -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 */