diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2015-08-05 05:27:34 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2015-08-05 05:27:34 +0000 |
commit | d95d0f0cdd07ac040218b26d8f14fb54e15e6257 (patch) | |
tree | 69742b231309a85dba87e7fe28d54fc9b8583c94 /regress | |
parent | d21d1b18e404104b0ee328e9caec6f4f3b224950 (diff) |
adjust for RSA minimum modulus switch; ok deraadt@
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c b/regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c index e01841a6ad7..4e73ce2c91b 100644 --- a/regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c +++ b/regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c @@ -1,4 +1,4 @@ -/* $OpenBSD: test_sshkey.c,v 1.6 2015/07/07 14:53:30 markus Exp $ */ +/* $OpenBSD: test_sshkey.c,v 1.7 2015/08/05 05:27:33 djm Exp $ */ /* * Regress test for sshkey.h key management API * @@ -275,7 +275,7 @@ sshkey_tests(void) TEST_DONE(); TEST_START("generate KEY_RSA"); - ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 768, &kr), + ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 767, &kr), SSH_ERR_INVALID_ARGUMENT); ASSERT_INT_EQ(sshkey_generate(KEY_RSA, 1024, &kr), 0); ASSERT_PTR_NE(kr, NULL); |