summaryrefslogtreecommitdiff
path: root/openssl
diff options
context:
space:
mode:
Diffstat (limited to 'openssl')
-rw-r--r--openssl/src/encrypt.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/openssl/src/encrypt.rs b/openssl/src/encrypt.rs
index 9d524690..aec22708 100644
--- a/openssl/src/encrypt.rs
+++ b/openssl/src/encrypt.rs
@@ -33,13 +33,6 @@ impl<'a> Encrypter<'a> {
where
T: HasPublic,
{
- Self::new_intern(pkey)
- }
-
- fn new_intern<T>(pkey: &'a PKeyRef<T>) -> Result<Encrypter<'a>, ErrorStack>
- where
- T: HasPublic,
- {
unsafe {
ffi::init();
@@ -167,13 +160,6 @@ impl<'a> Decrypter<'a> {
where
T: HasPrivate,
{
- Self::new_intern(pkey)
- }
-
- fn new_intern<T>(pkey: &'a PKeyRef<T>) -> Result<Decrypter<'a>, ErrorStack>
- where
- T: HasPrivate,
- {
unsafe {
ffi::init();