mirror of
https://github.com/sonertari/SSLproxy
synced 2024-10-31 21:20:21 +00:00
Fix unit tests with WITHOUT_USERAUTH enabled
This commit is contained in:
parent
6bd0dea851
commit
8b2860b0b3
@ -28,7 +28,9 @@ clean:
|
||||
|
||||
travis: $(TARGET)
|
||||
$(MAKE) travisunittest
|
||||
# $(MAKE) travise2etest
|
||||
# The e2e tests with all of the openssl/libressl versions in .travis.yml run
|
||||
# without any error locally, but fail on travis-ci.com now. So disable until fixed.
|
||||
#$(MAKE) travise2etest
|
||||
|
||||
travisunittest: $(TARGET)
|
||||
$(MAKE) -C $(CHECKTESTSDIR) travis
|
||||
|
@ -783,7 +783,7 @@ START_TEST(proxyspec_struct_parse_01)
|
||||
"}";
|
||||
f = fmemopen(s, strlen(s), "r");
|
||||
|
||||
// close(2);
|
||||
close(2);
|
||||
|
||||
char *natengine = "pf";
|
||||
rv = load_proxyspec_struct(global, "sslproxy", &natengine, &line_num, f, tmp_opts);
|
||||
@ -844,7 +844,7 @@ START_TEST(proxyspec_struct_parse_01)
|
||||
"sni 4444\n"
|
||||
"divert addr= [127.0.0.1]:8080\n"
|
||||
"return addr= [192.168.2.1]:0\n"
|
||||
"opts= conn opts: "SSL_PROTO_CONFIG_PROXYSPEC"|no sslcomp|no_tls13|deny_ocsp|MEDIUM:HIGH|TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256|"ECDH_PRIME1"http://example2.com/example2.crl|remove_http_accept_encoding|remove_http_referer|verify_peer|validate_proto|2048\n"
|
||||
"opts= conn opts: "SSL_PROTO_CONFIG_PROXYSPEC"|deny_ocsp|MEDIUM:HIGH|TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256|"ECDH_PRIME1"http://example2.com/example2.crl|remove_http_accept_encoding|remove_http_referer|verify_peer|validate_proto|2048\n"
|
||||
"divert\n"
|
||||
"macro $ip = 127.0.0.1\n"
|
||||
"filter rule 0: sni=example4.com, dstport=, srcip=, exact=site||, all=conns||, action=||pass||, log=|||||, precedence=1\n"
|
||||
|
Loading…
Reference in New Issue
Block a user