summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/crypto/mod.rs')
-rw-r--r--openpgp/src/crypto/mod.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/openpgp/src/crypto/mod.rs b/openpgp/src/crypto/mod.rs
index e4b26810..904eaea2 100644
--- a/openpgp/src/crypto/mod.rs
+++ b/openpgp/src/crypto/mod.rs
@@ -47,11 +47,6 @@ impl SessionKey {
random(&mut sk);
Self(sk)
}
-
- /// Converts to a buffer for modification.
- pub unsafe fn into_vec(self) -> Vec<u8> {
- self.0.into_vec()
- }
}
impl Deref for SessionKey {