From: Nikos Mavrogiannopoulos Date: Sun, 3 Mar 2013 09:00:18 +0000 (+0100) Subject: changes to avoid compilation of programs that cannot be. X-Git-Tag: gnutls_3_1_10~73 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aefd9b8c35205e28f09445f1c47cdb494e6fbdbe;p=thirdparty%2Fgnutls.git changes to avoid compilation of programs that cannot be. --- diff --git a/lib/gnutls_x509.c b/lib/gnutls_x509.c index c7573878cc..d23f464cd8 100644 --- a/lib/gnutls_x509.c +++ b/lib/gnutls_x509.c @@ -87,7 +87,7 @@ check_bits (gnutls_session_t session, gnutls_x509_crt_t crt, unsigned int max_bi /* three days */ #define MAX_OCSP_VALIDITY_SECS (3*60*60*24) - +#ifdef ENABLE_OCSP /* If the certificate is revoked status will be GNUTLS_CERT_REVOKED. * * Returns: @@ -198,6 +198,7 @@ cleanup: return ret; } +#endif #define CLEAR_CERTS for(x=0;x