diff options
author | Simon Josefsson <simon@josefsson.org> | 2008-11-14 14:12:04 +0100 |
---|---|---|
committer | Simon Josefsson <simon@josefsson.org> | 2008-11-14 14:12:04 +0100 |
commit | 9de24f935dc1c145a45dbc8a6080d1ec7b29e56f (patch) | |
tree | f72163ce869083c4d9785b0f9591b4529aad074e /lib/gnutlsxx.cpp | |
parent | 16130e32515efe0bd3b2a5554a2a10639a03d5cd (diff) | |
download | gnutls-9de24f935dc1c145a45dbc8a6080d1ec7b29e56f.tar.gz |
Make it compile with --disable-openpgp.
Diffstat (limited to 'lib/gnutlsxx.cpp')
-rw-r--r-- | lib/gnutlsxx.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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 } |