From 2077449bc87b87f96c8ec6248c5c7060d4bc58bf Mon Sep 17 00:00:00 2001 From: Steven Fackler Date: Mon, 16 May 2016 23:02:02 -0700 Subject: Clean up RSA signature API --- openssl/src/crypto/mod.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'openssl/src/crypto/mod.rs') diff --git a/openssl/src/crypto/mod.rs b/openssl/src/crypto/mod.rs index bb77453f..95b27022 100644 --- a/openssl/src/crypto/mod.rs +++ b/openssl/src/crypto/mod.rs @@ -14,6 +14,8 @@ // limitations under the License. // +use nid::Nid; + pub mod hash; pub mod hmac; pub mod pkcs5; @@ -24,3 +26,7 @@ pub mod memcmp; pub mod rsa; mod symm_internal; + +trait HashTypeInternals { + fn as_nid(&self) -> Nid; +} -- cgit v1.2.3