]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
corrected compilation for non-pkcs11; reported by David Woodhouse.
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 2 Oct 2014 14:24:41 +0000 (16:24 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 2 Oct 2014 14:24:41 +0000 (16:24 +0200)
lib/x509/verify-high.c

index b7d54acb4a92867de84427b891734000462c4530..9b0ee121eb4bf0a8cdeb4c5c1c728ecf1a7a8ec1 100644 (file)
@@ -775,9 +775,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 */