Commit 266a3938 authored by David Woodhouse's avatar David Woodhouse

Kill HAVE_GNUTLS_PKCS11_GET_RAW_ISSUER

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 881dcb2e
......@@ -450,8 +450,6 @@ case "$ssl_library" in
oldcflags="$CFLAGS"
LIBS="$LIBS $GNUTLS_LIBS"
CFLAGS="$CFLAGS $GNUTLS_CFLAGS"
AC_CHECK_FUNC(gnutls_pkcs11_get_raw_issuer,
[AC_DEFINE(HAVE_GNUTLS_PKCS11_GET_RAW_ISSUER, 1, [From GnuTLS 3.2.7])], [])
AC_CHECK_FUNC(gnutls_certificate_set_x509_system_trust,
[AC_DEFINE(HAVE_GNUTLS_CERTIFICATE_SET_X509_SYSTEM_TRUST, 1, [From GnuTLS 3.0.20])], [])
if test "$ac_cv_func_gnutls_certificate_set_x509_system_trust" != "yes"; then
......
......@@ -1751,7 +1751,7 @@ static int load_certificate(struct openconnect_info *vpninfo)
}
free_issuer = 0;
#if defined(HAVE_P11KIT) && defined(HAVE_GNUTLS_PKCS11_GET_RAW_ISSUER)
#ifdef HAVE_P11KIT
if (err && cert_is_p11) {
gnutls_datum_t t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment