From 70f216790236f748a9fb4fbcce06968cdf4c2801 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 27 Oct 2014 10:48:32 +0100 Subject: [PATCH 3/3] corrected gnutls version number check Signed-off-by: Nikos Mavrogiannopoulos --- gnutls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnutls.c b/gnutls.c index eac4d04..cce2853 100644 --- a/gnutls.c +++ b/gnutls.c @@ -398,7 +398,7 @@ static int load_pkcs12_certificate(struct openconnect_info *vpninfo, reference (c1ef7efb in master, 5196786c in gnutls_3_0_x-2)? */ static int check_issuer_sanity(gnutls_x509_crt_t cert, gnutls_x509_crt_t issuer) { -#if GNUTLS_VERSION_NUMBER > 0x300014 +#if GNUTLS_VERSION_NUMBER > 0x030014 return 0; #else unsigned char id1[512], id2[512]; -- 1.9.3