diff options
author | Colin Watson <cjwatson@debian.org> | 2015-08-19 14:23:51 +0100 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2015-08-19 16:48:11 +0100 |
commit | 0f0841b2d28b7463267d4d91577e72e3340a1d3a (patch) | |
tree | ba55fcd2b6e2cc22b30f5afb561dbb3da4c8b6c7 /regress/unittests/sshkey/common.c | |
parent | f2a5f5dae656759efb0b76c3d94890b65c197a02 (diff) | |
parent | 8698446b972003b63dfe5dcbdb86acfe986afb85 (diff) |
New upstream release (6.8p1).
Diffstat (limited to 'regress/unittests/sshkey/common.c')
-rw-r--r-- | regress/unittests/sshkey/common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/unittests/sshkey/common.c b/regress/unittests/sshkey/common.c index 0a4b3a90c..b598f05cb 100644 --- a/regress/unittests/sshkey/common.c +++ b/regress/unittests/sshkey/common.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: common.c,v 1.1 2014/06/24 01:14:18 djm Exp $ */ | 1 | /* $OpenBSD: common.c,v 1.2 2015/01/08 13:10:58 djm Exp $ */ |
2 | /* | 2 | /* |
3 | * Helpers for key API tests | 3 | * Helpers for key API tests |
4 | * | 4 | * |
@@ -44,7 +44,7 @@ load_file(const char *name) | |||
44 | 44 | ||
45 | ASSERT_PTR_NE(ret = sshbuf_new(), NULL); | 45 | ASSERT_PTR_NE(ret = sshbuf_new(), NULL); |
46 | ASSERT_INT_NE(fd = open(test_data_file(name), O_RDONLY), -1); | 46 | ASSERT_INT_NE(fd = open(test_data_file(name), O_RDONLY), -1); |
47 | ASSERT_INT_EQ(sshkey_load_file(fd, name, ret), 0); | 47 | ASSERT_INT_EQ(sshkey_load_file(fd, ret), 0); |
48 | close(fd); | 48 | close(fd); |
49 | return ret; | 49 | return ret; |
50 | } | 50 | } |