-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable more test cases for ci.yml #1684
Conversation
1. fix error: Ssl_ctx_use_certificate key too small 2. make it case insensitive for checking "Verification: OK"
aslo cc @u5surf for ci.yml modified |
--with-ipv6 \ | ||
--with-http_ssl_module \ | ||
--with-http_v2_module \ | ||
--with-http_addition_module \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new compiled addtion module
--with-stream_realip_module \ | ||
--with-stream_geoip_module \ | ||
--with-stream_ssl_preread_module \ | ||
--with-stream_sni \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new compiled stream and stream_* module
@@ -875,7 +875,6 @@ ngx_stream_ssl_merge_conf(ngx_conf_t *cf, void *parent, void *child) | |||
|
|||
#if (NGX_STREAM_SNI) | |||
ngx_conf_merge_value(conf->sni_force, prev->sni_force, 0); | |||
if (!conf->listen) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line trigger potential segfault in ngx_ssl_error because it make conf->ssl.log NULL.
This line is duplicated with following line 882
if (!conf->listen) {
return NGX_CONF_OK;
}
@@ -45,7 +45,7 @@ EOF | |||
|
|||
$t->write_file('openssl.conf', <<EOF); | |||
[ req ] | |||
default_bits = 1024 | |||
default_bits = 2048 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ssl certificate key too small error
@@ -63,7 +63,8 @@ foreach my $name ('localhost') { | |||
|
|||
|
|||
$t->run(); | |||
my $ret1 = `openssl s_client -connect 127.0.0.1:8980 -dtls1 | grep "ok"`; | |||
my $ret1 = `openssl s_client -connect 127.0.0.1:8980 -dtls1 | grep -i "ok"`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ignore case of string checking
With this pr, all test cases in tests/nginx-tests/tengine-tests will be checked.