summaryrefslogtreecommitdiffstats
path: root/openpgp/src/policy.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-03-10 17:15:26 +0100
committerJustus Winter <justus@sequoia-pgp.org>2020-03-10 17:15:42 +0100
commite69217dbd91e64b9b4011c95df73f2cdc4581f94 (patch)
treed73f729b06c338a7b8c82f49e85ce48674f29e14 /openpgp/src/policy.rs
parent6b2267b43f9d873c396ac7ff11c074833b2639f7 (diff)
openpgp: Typo.
Diffstat (limited to 'openpgp/src/policy.rs')
-rw-r--r--openpgp/src/policy.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/policy.rs b/openpgp/src/policy.rs
index 16e01102..3262619c 100644
--- a/openpgp/src/policy.rs
+++ b/openpgp/src/policy.rs
@@ -93,7 +93,7 @@ pub trait Policy : fmt::Debug {
/// used to create any binding signatures.
///
/// Thus, you can prevent keys that make use of insecure
- /// algoriths, don't have a sufficiently high security margin
+ /// algorithms, don't have a sufficiently high security margin
/// (e.g., 1024-bit RSA keys), are on a bad list, etc. from being
/// used here.
fn key(&self, _ka: &ValidErasedKeyAmalgamation<key::PublicParts>)