artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2420fad
)
adjust for sshkey_load_file() API change
author
djm
<djm@openbsd.org>
Thu, 8 Jan 2015 13:10:58 +0000
(13:10 +0000)
committer
djm
<djm@openbsd.org>
Thu, 8 Jan 2015 13:10:58 +0000
(13:10 +0000)
regress/usr.bin/ssh/unittests/sshkey/common.c
patch
|
blob
|
history
diff --git
a/regress/usr.bin/ssh/unittests/sshkey/common.c
b/regress/usr.bin/ssh/unittests/sshkey/common.c
index
022931b
..
4543439
100644
(file)
--- 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:1
8 djm Exp $ */
+/* $OpenBSD: common.c,v 1.
2 2015/01/08 13:10:5
8 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;
}