diff options
author | inoguchi <> | 2019-07-17 12:06:53 +0000 |
---|---|---|
committer | inoguchi <> | 2019-07-17 12:06:53 +0000 |
commit | 368e5c8c3550d84dbf0c979497809867e6ed9b56 (patch) | |
tree | ee1ce361b1403206a58cff133adfd7db8573957d | |
parent | 744668b82ff00e90df639e26eca6530ebec0ed4d (diff) | |
download | openbsd-368e5c8c3550d84dbf0c979497809867e6ed9b56.tar.gz openbsd-368e5c8c3550d84dbf0c979497809867e6ed9b56.tar.bz2 openbsd-368e5c8c3550d84dbf0c979497809867e6ed9b56.zip |
Update appstest.sh
- Add -modulus for dsa sub command
- Remove -nextprotoneg
-rwxr-xr-x | src/regress/usr.bin/openssl/appstest.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/regress/usr.bin/openssl/appstest.sh b/src/regress/usr.bin/openssl/appstest.sh index 7c916958a0..a9cb4aef15 100755 --- a/src/regress/usr.bin/openssl/appstest.sh +++ b/src/regress/usr.bin/openssl/appstest.sh | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # $OpenBSD: appstest.sh,v 1.22 2019/06/27 09:34:06 inoguchi Exp $ | 3 | # $OpenBSD: appstest.sh,v 1.23 2019/07/17 12:06:53 inoguchi Exp $ |
4 | # | 4 | # |
5 | # Copyright (c) 2016 Kinichiro Inoguchi <inoguchi@openbsd.org> | 5 | # Copyright (c) 2016 Kinichiro Inoguchi <inoguchi@openbsd.org> |
6 | # | 6 | # |
@@ -277,7 +277,7 @@ function test_key { | |||
277 | check_exit_status $? | 277 | check_exit_status $? |
278 | 278 | ||
279 | start_message "dsa" | 279 | start_message "dsa" |
280 | $openssl_bin dsa -in $dsaparam512 -text -out $dsaparam512.out | 280 | $openssl_bin dsa -in $dsaparam512 -text -modulus -out $dsaparam512.out |
281 | check_exit_status $? | 281 | check_exit_status $? |
282 | 282 | ||
283 | start_message "gendsa - Superseded by genpkey and pkey." | 283 | start_message "gendsa - Superseded by genpkey and pkey." |
@@ -1131,8 +1131,7 @@ function test_server_client { | |||
1131 | $s_bin s_server -accept $port -CAfile $ca_cert \ | 1131 | $s_bin s_server -accept $port -CAfile $ca_cert \ |
1132 | -cert $server_cert -key $server_key -pass pass:$server_pass \ | 1132 | -cert $server_cert -key $server_key -pass pass:$server_pass \ |
1133 | -context "appstest.sh" -id_prefix "APPSTEST.SH" -crl_check \ | 1133 | -context "appstest.sh" -id_prefix "APPSTEST.SH" -crl_check \ |
1134 | -nextprotoneg "http/1.1,spdy/3" -alpn "http/1.1,spdy/3" -www \ | 1134 | -alpn "http/1.1,spdy/3" -www -cipher ALL $extra_opts \ |
1135 | -cipher ALL $extra_opts \ | ||
1136 | -msg -tlsextdebug > $s_server_out 2>&1 & | 1135 | -msg -tlsextdebug > $s_server_out 2>&1 & |
1137 | check_exit_status $? | 1136 | check_exit_status $? |
1138 | s_server_pid=$! | 1137 | s_server_pid=$! |
@@ -1233,8 +1232,7 @@ function test_server_client { | |||
1233 | start_message "s_client ... connect to TLS/SSL test server to get session id" | 1232 | start_message "s_client ... connect to TLS/SSL test server to get session id" |
1234 | sleep $test_pause_sec | 1233 | sleep $test_pause_sec |
1235 | $c_bin s_client -connect $host:$port -CAfile $ca_cert \ | 1234 | $c_bin s_client -connect $host:$port -CAfile $ca_cert \ |
1236 | -nextprotoneg "spdy/3,http/1.1" -alpn "spdy/3,http/1.1" \ | 1235 | -alpn "spdy/3,http/1.1" -sess_out $sess_dat \ |
1237 | -sess_out $sess_dat \ | ||
1238 | -msg -tlsextdebug < /dev/null > $s_client_out 2>&1 | 1236 | -msg -tlsextdebug < /dev/null > $s_client_out 2>&1 |
1239 | check_exit_status $? | 1237 | check_exit_status $? |
1240 | 1238 | ||