From ce91bebc39a649511bf85ee75b5323bbdfa55655 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Thu, 15 Jun 2017 00:26:43 -0400 Subject: Fix OpenSSL 1.1 deprecations --- meson.build | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 462673fb..15eaa390 100644 --- a/meson.build +++ b/meson.build @@ -64,6 +64,12 @@ if libssl_dep.found() config_h.set('HAVE_DH_SET0_KEY', cc.has_function('DH_set0_key', dependencies: libssl_dep) ) + config_h.set('HAVE_ERR_REMOVE_THREAD_STATE', + cc.has_function('ERR_remove_thread_state', dependencies: libssl_dep) + ) + config_h.set('HAVE_ASN1_STRING_GET0_DATA', + cc.has_function('ASN1_STRING_get0_data', dependencies: libssl_dep) + ) endif configure_file(output: 'config.h', configuration: config_h) -- cgit 1.4.1