diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2016-08-03 08:02:03 -0400 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2016-08-03 08:02:31 -0400 |
commit | f0b5d4bd3e17bc0a464b9ec69507413824568f9e (patch) | |
tree | 674b3b424ace1c76929235ae7cdaacb920a475c4 /src/gnutls.c | |
parent | 744cc9fa17d20450fc3cf1ca6bb71869abeeb77b (diff) |
Simplify by assuming GnuTLS 2.12.2 or later
* src/gnutls.c (gnutls_certificate_details):
* src/sysdep.c: Assume GnuTLS 2.12.2 or later.
Diffstat (limited to 'src/gnutls.c')
-rw-r--r-- | src/gnutls.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gnutls.c b/src/gnutls.c index bc35dfb411..d242919270 100644 --- a/src/gnutls.c +++ b/src/gnutls.c @@ -883,8 +883,6 @@ gnutls_certificate_details (gnutls_x509_crt_t cert) xfree (dn); } - /* Versions older than 2.11 doesn't have these four functions. */ -#if GNUTLS_VERSION_NUMBER >= 0x020b00 /* SubjectPublicKeyInfo. */ { unsigned int bits; @@ -933,7 +931,6 @@ gnutls_certificate_details (gnutls_x509_crt_t cert) make_string (buf, buf_size))); xfree (buf); } -#endif /* Signature. */ err = gnutls_x509_crt_get_signature_algorithm (cert); |