From 696b1961ce31e77aebf5fcf13398c8c54ed22d87 Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Sun, 1 May 2016 21:02:29 -0700 Subject: Rename getters in line with conventions --- openssl/src/ssl/tests/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openssl/src/ssl/tests/mod.rs') diff --git a/openssl/src/ssl/tests/mod.rs b/openssl/src/ssl/tests/mod.rs index 7f0f3415..e3b0a340 100644 --- a/openssl/src/ssl/tests/mod.rs +++ b/openssl/src/ssl/tests/mod.rs @@ -227,7 +227,7 @@ run_test!(new_sslstream, |method, stream| { run_test!(get_ssl_method, |method, _| { let ssl = Ssl::new(&SslContext::new(method).unwrap()).unwrap(); - assert_eq!(ssl.get_ssl_method(), Some(method)); + assert_eq!(ssl.ssl_method(), Some(method)); }); run_test!(verify_untrusted, |method, stream| { @@ -462,7 +462,7 @@ fn test_set_certificate_and_private_key() { run_test!(get_ctx_options, |method, _| { let mut ctx = SslContext::new(method).unwrap(); - ctx.get_options(); + ctx.options(); }); run_test!(set_ctx_options, |method, _| { -- cgit v1.2.3