diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-09-04 12:59:47 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-09-04 14:52:35 -0400 |
commit | ad94d43fc50525e8814b6e99f78d4b9635fa80ca (patch) | |
tree | ce39bdaf6b1327de87a68ed749343bb018cf8ab6 /src/test/test_tortls.h | |
parent | 59c1b34b72ec6c55ca4de0c56a9be3da3d1c3e08 (diff) | |
download | tor-ad94d43fc50525e8814b6e99f78d4b9635fa80ca.tar.gz tor-ad94d43fc50525e8814b6e99f78d4b9635fa80ca.zip |
Port test_tortls_verify to not depend on openssl internals
Diffstat (limited to 'src/test/test_tortls.h')
-rw-r--r-- | src/test/test_tortls.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/test_tortls.h b/src/test/test_tortls.h new file mode 100644 index 0000000000..c997934ebc --- /dev/null +++ b/src/test/test_tortls.h @@ -0,0 +1,13 @@ +/* Copyright (c) 2010-2018, The Tor Project, Inc. */ +/* See LICENSE for licensing information */ + +#ifndef TEST_TORTLS_H +#define TEST_TORTLS_H + +tor_x509_cert_impl_t *read_cert_from(const char *str); + +extern const char *notCompletelyValidCertString; +extern const char *validCertString; +extern const char *caCertString; + +#endif |