Skip to content

Commit

Permalink
Update all flags affected by with-ssl=openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
agagniere committed Sep 15, 2024
1 parent f8cecfc commit 24626f5
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 24626f5

Please sign in to comment.