diff --git a/build.zig b/build.zig index 5428ff4..59bf56b 100644 --- a/build.zig +++ b/build.zig @@ -305,11 +305,18 @@ const default_paths = .{ const autoconf = .{ // TODO: add an option .USE_OPENSSL = 1, - .HAVE_OPENSSL_INIT_SSL = 1, .OPENSSL_API_COMPAT = .@"0x10001000L", + .HAVE_LIBCRYPTO = 1, + .HAVE_LIBSSL = 1, + .HAVE_OPENSSL_INIT_SSL = 1, + .HAVE_SSL_CTX_SET_CERT_CB = 1, + .HAVE_SSL_CTX_SET_NUM_TICKETS = 1, + .HAVE_X509_GET_SIGNATURE_INFO = 1, + .HAVE_X509_GET_SIGNATURE_NID = 1, .HAVE_BIO_METH_NEW = 1, .HAVE_HMAC_CTX_FREE = 1, .HAVE_HMAC_CTX_NEW = 1, + .HAVE_ASN1_STRING_GET0_DATA = 1, .ALIGNOF_DOUBLE = @alignOf(f64), .ALIGNOF_INT = @alignOf(c_int), @@ -464,7 +471,6 @@ const autoconf = .{ .ALIGNOF_LONG_LONG_INT = null, .ENABLE_GSS = null, .ENABLE_NLS = null, - .HAVE_ASN1_STRING_GET0_DATA = null, .HAVE_ATOMIC_H = null, .HAVE_COPYFILE = null, .HAVE_COPYFILE_H = null, @@ -490,12 +496,10 @@ const autoconf = .{ .HAVE_I_CONSTRAINT__BUILTIN_CONSTANT_P = null, .HAVE_KQUEUE = null, .HAVE_LDAP_INITIALIZE = null, - .HAVE_LIBCRYPTO = null, .HAVE_LIBLDAP = null, .HAVE_LIBLZ4 = null, .HAVE_LIBPAM = null, .HAVE_LIBSELINUX = null, - .HAVE_LIBSSL = null, .HAVE_LIBWLDAP32 = null, .HAVE_LIBXML2 = null, .HAVE_LIBXSLT = null, @@ -511,8 +515,6 @@ const autoconf = .{ .HAVE_SECURITY_PAM_APPL_H = null, .HAVE_SETPROCTITLE = null, .HAVE_SETPROCTITLE_FAST = null, - .HAVE_SSL_CTX_SET_CERT_CB = null, - .HAVE_SSL_CTX_SET_NUM_TICKETS = null, .HAVE_STRUCT_SOCKADDR_SA_LEN = null, .HAVE_SYS_EVENT_H = null, .HAVE_SYS_PROCCTL_H = null, @@ -527,8 +529,6 @@ const autoconf = .{ .HAVE_UUID_OSSP = null, .HAVE_UUID_UUID_H = null, .HAVE_WCSTOMBS_L = null, - .HAVE_X509_GET_SIGNATURE_INFO = null, - .HAVE_X509_GET_SIGNATURE_NID = null, .HAVE__CONFIGTHREADLOCALE = null, .HAVE__CPUID = null, .LOCALE_T_IN_XLOCALE = null,