set(CMAKE_REQUIRED_LIBRARIES gnutls)
check_function_exists(gnutls_transport_set_global_errno HAVE_OLD_GNUTLS)
check_function_exists(gnutls_x509_crt_print HAVE_GNUTLS_X509_CRT_PRINT)
- check_type_size(gnutls_x509_crt_t GNUTLS_CRT_T)
+ check_type_size(gnutls_x509_crt_t GNUTLS_X509_CRT_T)
check_type_size(gnutls_datum_t GNUTLS_DATUM_T)
check_type_size(gnutls_pk_algorithm_t GNUTLS_PK_ALGORITHM_T)
check_type_size(gnutls_sign_algorithm_t GNUTLS_SIGN_ALGORITHM_T)
#ifndef HAVE_GNUTLS_DATUM_T
typedef gnutls_datum gnutls_datum_t;
#endif
-#ifndef HAVE_GNUTLS_CRT_T
+#ifndef HAVE_GNUTLS_X509_CRT_T
typedef gnutls_x509_crt gnutls_x509_crt_t;
#endif
#ifndef HAVE_GNUTLS_PK_ALGORITHM_T
#cmakedefine HAVE_VSNPRINTF
#cmakedefine HAVE_OLD_GNUTLS
#cmakedefine HAVE_GNUTLS_X509_CRT_PRINT
-#cmakedefine HAVE_GNUTLS_CRT_T
+#cmakedefine HAVE_GNUTLS_X509_CRT_T
#cmakedefine HAVE_GNUTLS_DATUM_T
#cmakedefine HAVE_GNUTLS_PK_ALGORITHM_T
#cmakedefine HAVE_GNUTLS_SIGN_ALGORITHM_T