aboutsummaryrefslogtreecommitdiff
path: root/src/ssl/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssl/test.rs')
-rw-r--r--src/ssl/test.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ssl/test.rs b/src/ssl/test.rs
index 798f07f3..d54613ee 100644
--- a/src/ssl/test.rs
+++ b/src/ssl/test.rs
@@ -1,6 +1,8 @@
extern mod ssl;
+use ssl::{Sslv23, SslCtx};
+
#[test]
-fn test_init_works() {
- ssl::init();
+fn test_new_ctx() {
+ SslCtx::new(Sslv23);
}