diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-05-27 18:19:46 +0200 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-05-27 18:19:46 +0200 |
commit | 1dabf056697191872ad3f19c4a9bbd4a760b746b (patch) | |
tree | a41e8f2135a5d158466a7aa94597defe48468599 | |
parent | ac94c6e3bb24e0d425f23bf271ba6d23467acfb9 (diff) |
openpgp: Fix reference
-rw-r--r-- | openpgp/src/packet/key.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openpgp/src/packet/key.rs b/openpgp/src/packet/key.rs index 59de792a..04fa3871 100644 --- a/openpgp/src/packet/key.rs +++ b/openpgp/src/packet/key.rs @@ -1446,7 +1446,8 @@ impl<R> Key4<SecretParts, R> /// This function returns an error if the secret key material is /// not encrypted or the password is incorrect. /// - /// [protected with a password]: https://tools.ietf.org/html/rfc4880#section-3.7 + /// [protected with a password]: https://tools.ietf.org/html/rfc4880#section-5.5.3 + /// [KDF]: https://tools.ietf.org/html/rfc4880#section-3.7 /// [`Key::decrypt_secret`]: enum.Key.html#method.decrypt_secret pub fn decrypt_secret(mut self, password: &Password) -> Result<Self> { let pk_algo = self.pk_algo; |