]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Disable openpgp code when not requested. Reported by Bjorn Christensen.
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 23 Sep 2011 14:34:12 +0000 (16:34 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Fri, 23 Sep 2011 14:34:12 +0000 (16:34 +0200)
lib/gnutls_pcert.c

index 9ee43f347ed1b34e4cf19b59d6ba448198890da1..b277472d4d6f3de2bdb9881ef79f9a91baf0d1a3 100644 (file)
@@ -218,6 +218,8 @@ cleanup:
   return ret;
 }
 
+#ifdef ENABLE_OPENPGP
+
 /**
  * gnutls_pcert_import_openpgp:
  * @pcert: The pcert structure
@@ -355,6 +357,8 @@ cleanup:
   return ret;
 }
 
+#endif
+
 /**
  * gnutls_pcert_deinit:
  * @pcert: The structure to be deinitialized