diff options
author | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2013-07-31 14:05:23 +0000 |
---|---|---|
committer | joe <joe@61a7d7f5-40b7-0310-9c16-bb0ea8cb1845> | 2013-07-31 14:05:23 +0000 |
commit | d74e8ea2f6d195a0360f2f797562d42168540fa4 (patch) | |
tree | 8c7104e5bb35fd3ce7f11a12f6eeee30e5d191f6 /macros | |
parent | 85f6bbc8e5afc9b0f7a0ad4345d98580927df9f4 (diff) | |
download | neon-d74e8ea2f6d195a0360f2f797562d42168540fa4.tar.gz |
* src/ne_gnutls.c, macros/neon.m4: Support build with GnuTLS 3, patch by
Bartosz Brachaczek.
git-svn-id: http://svn.webdav.org/repos/projects/neon/trunk@1915 61a7d7f5-40b7-0310-9c16-bb0ea8cb1845
Diffstat (limited to 'macros')
-rw-r--r-- | macros/neon.m4 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/macros/neon.m4 b/macros/neon.m4 index f96a76c..29fcaa9 100644 --- a/macros/neon.m4 +++ b/macros/neon.m4 @@ -989,12 +989,13 @@ gnutls) # Check for functions in later releases NE_CHECK_FUNCS([gnutls_session_get_data2 gnutls_x509_dn_get_rdn_ava \ gnutls_sign_callback_set \ + gnutls_certificate_get_issuer \ gnutls_certificate_get_x509_cas \ - gnutls_certificate_verify_peers2]) + gnutls_x509_crt_sign2]) - # fail if gnutls_certificate_verify_peers2 is not found - if test x${ac_cv_func_gnutls_certificate_verify_peers2} != xyes; then - AC_MSG_ERROR([GnuTLS version predates gnutls_certificate_verify_peers2, newer version required]) + # fail if gnutls_x509_crt_sign2 is not found (it was introduced in 1.2.0, which is required) + if test x${ac_cv_func_gnutls_x509_crt_sign2} != xyes; then + AC_MSG_ERROR([GnuTLS version predates gnutls_x509_crt_sign2, newer version required (at least 1.2.0)]) fi # Check for iconv support if using the new RDN access functions: |