Unbreak FreeBSD build
authorJeremy Harris <jgh146exb@wizmail.org>
Tue, 4 Oct 2022 20:30:55 +0000 (21:30 +0100)
committerJeremy Harris <jgh146exb@wizmail.org>
Tue, 4 Oct 2022 20:30:55 +0000 (21:30 +0100)
Broken-by: 96751ae76e
src/src/tls-openssl.c

index b46c0c7fda545fd0a9b8860363201c3b7efe3cff..68ad6f15b9b0051671e4b775f5c40288af75cd10 100644 (file)
@@ -2737,7 +2737,7 @@ if (init_options)
   DEBUG(D_tls) debug_printf("setting  SSL CTX options: %016lx\n", init_options);
   SSL_CTX_set_options(ctx, init_options);
    {
-    ulong readback = SSL_CTX_clear_options(ctx, ~init_options);
+    uint64_t readback = SSL_CTX_clear_options(ctx, ~init_options);
     if (readback != init_options)
       return tls_error(string_sprintf(
           "SSL_CTX_set_option(%#lx)", init_options), host, NULL, errstr);