aboutsummaryrefslogtreecommitdiff
path: root/tests/torture_pki.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-01-08 21:47:56 +0100
committerAndreas Schneider <asn@cryptomilk.org>2018-01-10 22:24:11 +0100
commitfd2ef07f372819e4eccbd85b7a0388c9c41eb31d (patch)
tree9d1e5f54f8ad98f6939934f4ee915290d799b3fc /tests/torture_pki.h
parente19163eabb035ccc4c4c6578dd6fc896c39f23a2 (diff)
downloadlibssh-fd2ef07f372819e4eccbd85b7a0388c9c41eb31d.tar.gz
libssh-fd2ef07f372819e4eccbd85b7a0388c9c41eb31d.tar.xz
libssh-fd2ef07f372819e4eccbd85b7a0388c9c41eb31d.zip
tests: Move helper functions to a common file
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/torture_pki.h')
-rw-r--r--tests/torture_pki.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/torture_pki.h b/tests/torture_pki.h
new file mode 100644
index 00000000..460cc91f
--- /dev/null
+++ b/tests/torture_pki.h
@@ -0,0 +1,3 @@
+char *torture_pki_read_file(const char *filename);
+int torture_read_one_line(const char *filename, char *buffer, size_t len);
+size_t torture_pubkey_len(const char *pubkey);