aboutsummaryrefslogtreecommitdiff
path: root/openssl/src/crypto/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/src/crypto/mod.rs')
-rw-r--r--openssl/src/crypto/mod.rs6
1 files changed, 6 insertions, 0 deletions
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;
+}