mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-06 15:51:25 +00:00
wrapped set_ssl_option call into NO_SSL conditional. Fixed test.
This commit is contained in:
1 parent
63af66c61f
commit
75b6717d8b
2 files changed
+6
-4
No files matched your search
+2
-2
@@ -385,9 +385,9 @@ sub do_PUT_test {
|
||||
|
||||
sub do_embedded_test {
|
||||
my $cmd = "cc -W -Wall -o $embed_exe $root/embed.c mongoose.c -I. ".
|
||||
"-pthread -DLISTENING_PORT=\\\"$port\\\"";
|
||||
"-pthread -DNO_SSL -DLISTENING_PORT=\\\"$port\\\"";
|
||||
if (on_windows()) {
|
||||
$cmd = "cl $root/embed.c mongoose.c /I. /nologo ".
|
||||
$cmd = "cl $root/embed.c mongoose.c /I. /nologo /DNO_SSL ".
|
||||
"/DLISTENING_PORT=\\\"$port\\\" /link /out:$embed_exe.exe ws2_32.lib ";
|
||||
}
|
||||
print $cmd, "\n";
|
||||
|
||||
Reference in new issue
Block a user