Skip to content

Commit

Permalink
corrected gnutls version number check
Browse files Browse the repository at this point in the history
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
  • Loading branch information
Nikos Mavrogiannopoulos authored and David Woodhouse committed Oct 27, 2014
1 parent a5427a6 commit f98cb7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnutls.c
Expand Up @@ -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];
Expand Down

0 comments on commit f98cb7f

Please sign in to comment.