From c1c5d8a9bfdb04a054ac87a9e4419764553106a2 Mon Sep 17 00:00:00 2001 From: Justus Winter Date: Fri, 31 May 2019 12:02:35 +0200 Subject: openpgp: Fix documentation. --- openpgp/src/crypto/asymmetric.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openpgp/src/crypto/asymmetric.rs') diff --git a/openpgp/src/crypto/asymmetric.rs b/openpgp/src/crypto/asymmetric.rs index 7bc293d3..e23c3c73 100644 --- a/openpgp/src/crypto/asymmetric.rs +++ b/openpgp/src/crypto/asymmetric.rs @@ -35,7 +35,7 @@ pub trait Decryptor { /// Returns a reference to the public key. fn public(&self) -> &Key; - /// Creates a signature over the `digest` produced by `hash_algo`. + /// Decrypts `ciphertext`, returning the plain session key. fn decrypt(&mut self, ciphertext: &mpis::Ciphertext) -> Result; } -- cgit v1.2.3