diff options
author | Martin Fischer <martin@push-f.com> | 2023-06-26 15:10:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-26 09:10:27 -0400 |
commit | 801b9ec62d94f201e67d053ee90dae0b70e50a42 (patch) | |
tree | 145f840c570dd72258ef309e9d31f100a5aa5786 /ext/crypto/export_key.rs | |
parent | ad3c494b46c97f0cf91098b7ec2afa576ea7a3dd (diff) |
chore: fix typos (#19572)
Diffstat (limited to 'ext/crypto/export_key.rs')
-rw-r--r-- | ext/crypto/export_key.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/crypto/export_key.rs b/ext/crypto/export_key.rs index 13f7357fa..5a8d48ba3 100644 --- a/ext/crypto/export_key.rs +++ b/ext/crypto/export_key.rs @@ -130,7 +130,7 @@ fn export_key_rsa( algorithm: spki::AlgorithmIdentifier { // rsaEncryption(1) oid: const_oid::ObjectIdentifier::new_unwrap("1.2.840.113549.1.1.1"), - // parameters field should not be ommited (None). + // parameters field should not be omitted (None). // It MUST have ASN.1 type NULL. parameters: Some(asn1::AnyRef::from(asn1::Null)), }, @@ -158,7 +158,7 @@ fn export_key_rsa( algorithm: rsa::pkcs8::AlgorithmIdentifier { // rsaEncryption(1) oid: rsa::pkcs8::ObjectIdentifier::new_unwrap("1.2.840.113549.1.1.1"), - // parameters field should not be ommited (None). + // parameters field should not be omitted (None). // It MUST have ASN.1 type NULL as per defined in RFC 3279 Section 2.3.1 parameters: Some(asn1::AnyRef::from(asn1::Null)), }, |