From: Nikos Mavrogiannopoulos Date: Fri, 23 Sep 2011 14:34:12 +0000 (+0200) Subject: Disable openpgp code when not requested. Reported by Bjorn Christensen. X-Git-Tag: gnutls_3_0_4~69 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b0ff3f86b1399edf3d3826baa221bed86b6bef91;p=thirdparty%2Fgnutls.git Disable openpgp code when not requested. Reported by Bjorn Christensen. --- diff --git a/lib/gnutls_pcert.c b/lib/gnutls_pcert.c index 9ee43f347e..b277472d4d 100644 --- a/lib/gnutls_pcert.c +++ b/lib/gnutls_pcert.c @@ -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