summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-05-27 18:19:46 +0200
committerNeal H. Walfield <neal@pep.foundation>2020-05-27 18:19:46 +0200
commit1dabf056697191872ad3f19c4a9bbd4a760b746b (patch)
treea41e8f2135a5d158466a7aa94597defe48468599
parentac94c6e3bb24e0d425f23bf271ba6d23467acfb9 (diff)
openpgp: Fix reference
-rw-r--r--openpgp/src/packet/key.rs3
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;