Skip to content

Commit

Permalink
configure: don't complain about no ssl unless --ssl is given
Browse files Browse the repository at this point in the history
SSL is now enabled by default, but it is only a fatal error
if no libssl and --ssl is explicitly enabled.

Signed-off-by: Steve Bennett <steveb@workware.net.au>
  • Loading branch information
msteveb committed Mar 1, 2023
1 parent 1933e54 commit 2227794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auto.def
Expand Up @@ -442,7 +442,7 @@ if {[opt-bool-unless-minimal ssl]} {
msg-result "Enabling SSL"
define JIM_SSL
define-append LDLIBS [get-define lib_ERR_error_string] [get-define lib_TLSv1_2_method]
} elseif {[opt-bool ssl]} {
} elseif {[opt-bool -nodefault ssl] > 0} {
user-error "SSL support requires OpenSSL"
}
}
Expand Down

0 comments on commit 2227794

Please sign in to comment.