diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | regress/cert-hostkey.sh | 30 |
2 files changed, 6 insertions, 26 deletions
@@ -2,6 +2,8 @@ | |||
2 | - (dtucker) [gss-serv-krb5.c] Fall back to krb5_cc_gen_new if the Kerberos | 2 | - (dtucker) [gss-serv-krb5.c] Fall back to krb5_cc_gen_new if the Kerberos |
3 | implementation does not have krb5_cc_new_unique, similar to what we do | 3 | implementation does not have krb5_cc_new_unique, similar to what we do |
4 | in auth-krb5.c. | 4 | in auth-krb5.c. |
5 | - (djm) [regress/cert-hostkey.sh] Fix regress failure on platforms that | ||
6 | skip one or more key types (e.g. RHEL/CentOS 6.5); ok dtucker@ | ||
5 | - (djm) OpenBSD CVS Sync | 7 | - (djm) OpenBSD CVS Sync |
6 | - djm@cvs.openbsd.org 2014/01/20 00:08:48 | 8 | - djm@cvs.openbsd.org 2014/01/20 00:08:48 |
7 | [digest.c] | 9 | [digest.c] |
diff --git a/regress/cert-hostkey.sh b/regress/cert-hostkey.sh index 1ed5af501..a1318cd53 100644 --- a/regress/cert-hostkey.sh +++ b/regress/cert-hostkey.sh | |||
@@ -72,32 +72,10 @@ done | |||
72 | printf '@cert-authority ' | 72 | printf '@cert-authority ' |
73 | printf "$HOSTS " | 73 | printf "$HOSTS " |
74 | cat $OBJ/host_ca_key.pub | 74 | cat $OBJ/host_ca_key.pub |
75 | printf '@revoked ' | 75 | for ktype in $PLAIN_TYPES rsa_v00 dsa_v00; do |
76 | printf "* " | 76 | test -f "$OBJ/cert_host_key_${ktype}.pub" || fatal "no pubkey" |
77 | cat $OBJ/cert_host_key_rsa.pub | 77 | printf "@revoked * `cat $OBJ/cert_host_key_${ktype}.pub`\n" |
78 | if test "x$TEST_SSH_ECC" = "xyes"; then | 78 | done |
79 | printf '@revoked ' | ||
80 | printf "* " | ||
81 | cat $OBJ/cert_host_key_ecdsa-sha2-nistp256.pub | ||
82 | printf '@revoked ' | ||
83 | printf "* " | ||
84 | cat $OBJ/cert_host_key_ecdsa-sha2-nistp384.pub | ||
85 | printf '@revoked ' | ||
86 | printf "* " | ||
87 | cat $OBJ/cert_host_key_ecdsa-sha2-nistp521.pub | ||
88 | fi | ||
89 | printf '@revoked ' | ||
90 | printf "* " | ||
91 | cat $OBJ/cert_host_key_ed25519.pub | ||
92 | printf '@revoked ' | ||
93 | printf "* " | ||
94 | cat $OBJ/cert_host_key_dsa.pub | ||
95 | printf '@revoked ' | ||
96 | printf "* " | ||
97 | cat $OBJ/cert_host_key_rsa_v00.pub | ||
98 | printf '@revoked ' | ||
99 | printf "* " | ||
100 | cat $OBJ/cert_host_key_dsa_v00.pub | ||
101 | ) > $OBJ/known_hosts-cert | 79 | ) > $OBJ/known_hosts-cert |
102 | for privsep in yes no ; do | 80 | for privsep in yes no ; do |
103 | for ktype in $PLAIN_TYPES rsa_v00 dsa_v00; do | 81 | for ktype in $PLAIN_TYPES rsa_v00 dsa_v00; do |