From: Simon Josefsson Date: Fri, 14 Nov 2008 13:12:04 +0000 (+0100) Subject: Make it compile with --disable-openpgp. X-Git-Tag: gnutls_2_7_2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9de24f935dc1c145a45dbc8a6080d1ec7b29e56f;p=thirdparty%2Fgnutls.git Make it compile with --disable-openpgp. --- diff --git a/lib/gnutlsxx.cpp b/lib/gnutlsxx.cpp index e7dc163792..83453f058e 100644 --- a/lib/gnutlsxx.cpp +++ b/lib/gnutlsxx.cpp @@ -460,7 +460,9 @@ void* session::get_user_ptr( ) const void session::send_openpgp_cert( gnutls_openpgp_crt_status_t status) { - gnutls_openpgp_send_cert(s, status); +#ifdef ENABLE_OPENPGP + gnutls_openpgp_send_cert(s, status); +#endif }