summaryrefslogtreecommitdiff
path: root/tests/utils.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2016-09-08 13:48:30 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-09-12 09:49:23 +0200
commit0af3696105317eeca1bc6ded5298dc107e1fc2d3 (patch)
treeb26f3cb356464e6b20dcefe99e44526d8a75ee57 /tests/utils.h
parente1431ce39813b2fa8971fe7faf4b320c058b3182 (diff)
downloadgnutls-0af3696105317eeca1bc6ded5298dc107e1fc2d3.tar.gz
tests: enhanced set_x509_key_file tests to include index verification
That is, verify that correct indexes are returned, and these can be used with gnutls_certificate_get_crt_raw() afterwards.
Diffstat (limited to 'tests/utils.h')
-rw-r--r--tests/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/utils.h b/tests/utils.h
index 7606a6dbb8..965a341dd0 100644
--- a/tests/utils.h
+++ b/tests/utils.h
@@ -79,6 +79,8 @@ void test_cli_serv(gnutls_certificate_credentials_t server_cred,
#define TMPNAME_SIZE 128
char *get_tmpname(char s[TMPNAME_SIZE]);
+void track_temp_files(void);
+void delete_temp_files(void);
/* This must be implemented elsewhere. */
extern void doit(void);