From a52053fe03e0002ef754561abc43263a95ecd89d Mon Sep 17 00:00:00 2001 From: Nikos Date: Thu, 20 Dec 2007 21:41:35 +0200 Subject: more changes for --disable-openpgp-authentication to work --- lib/auth_cert.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/auth_cert.c b/lib/auth_cert.c index 24ea0a5d63..c17b9df3ac 100644 --- a/lib/auth_cert.c +++ b/lib/auth_cert.c @@ -458,10 +458,11 @@ call_get_cert_callback (gnutls_session_t session, goto cleanup; } +#ifdef ENABLE_OPENPGP local_certs = alloc_and_load_pgp_certs (st.cert.pgp); if (local_certs != NULL) local_key = alloc_and_load_pgp_key (st.key.pgp); - +#endif } _gnutls_selected_certs_set (session, local_certs, -- cgit v1.2.1