summaryrefslogtreecommitdiffstats
path: root/openpgp
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp')
-rw-r--r--openpgp/src/cert/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/cert/mod.rs b/openpgp/src/cert/mod.rs
index 414beae6..7f6b95ad 100644
--- a/openpgp/src/cert/mod.rs
+++ b/openpgp/src/cert/mod.rs
@@ -2050,7 +2050,7 @@ impl Cert {
/// This function turns the certificate into a sequence of
/// packets, appends the packets to the end of it, and
/// canonicalizes the result. [Known packets that don't belong in
- /// a cert or TSK] cause this function to return an error. Unknown
+ /// a TPK or TSK] cause this function to return an error. Unknown
/// packets are retained and added to the list of [unknown
/// components]. The goal is to provide some future
/// compatibility.
@@ -2063,7 +2063,7 @@ impl Cert {
/// certificate, it replaces the existing signature. This way,
/// the unhashed subpacket area can be updated.
///
- /// [Known packets that don't belong in a cert or TSK]: https://tools.ietf.org/html/rfc4880#section-11
+ /// [Known packets that don't belong in a TPK or TSK]: https://tools.ietf.org/html/rfc4880#section-11
/// [unknown components]: #method.unknowns
///
/// # Examples