diff options
author | 2015-01-08 13:10:58 +0000 | |
---|---|---|
committer | 2015-01-08 13:10:58 +0000 | |
commit | f9c4962151655f1a1a48653707a027cd7d7abc0d (patch) | |
tree | a6e8fd7db317020065a34dedf8f51f22730c5313 /regress/usr.bin/ssh/unittests/sshkey/common.c | |
parent | Convert spkac.c to the new option handling code. (diff) | |
download | wireguard-openbsd-f9c4962151655f1a1a48653707a027cd7d7abc0d.tar.xz wireguard-openbsd-f9c4962151655f1a1a48653707a027cd7d7abc0d.zip |
adjust for sshkey_load_file() API change
Diffstat (limited to 'regress/usr.bin/ssh/unittests/sshkey/common.c')
-rw-r--r-- | regress/usr.bin/ssh/unittests/sshkey/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/usr.bin/ssh/unittests/sshkey/common.c b/regress/usr.bin/ssh/unittests/sshkey/common.c index 022931b6e3c..4543439d1cd 100644 --- a/regress/usr.bin/ssh/unittests/sshkey/common.c +++ b/regress/usr.bin/ssh/unittests/sshkey/common.c @@ -1,4 +1,4 @@ -/* $OpenBSD: common.c,v 1.1 2014/06/24 01:14:18 djm Exp $ */ +/* $OpenBSD: common.c,v 1.2 2015/01/08 13:10:58 djm Exp $ */ /* * Helpers for key API tests * @@ -38,7 +38,7 @@ load_file(const char *name) ASSERT_PTR_NE(ret = sshbuf_new(), NULL); ASSERT_INT_NE(fd = open(test_data_file(name), O_RDONLY), -1); - ASSERT_INT_EQ(sshkey_load_file(fd, name, ret), 0); + ASSERT_INT_EQ(sshkey_load_file(fd, ret), 0); close(fd); return ret; } |