From e3760e013c937f4fc98aef34053174620cf39dff Mon Sep 17 00:00:00 2001 From: sellskin Date: Mon, 25 Mar 2024 12:57:35 +0800 Subject: [PATCH] chore: fix some typos Signed-off-by: sellskin --- cmd/multirootca/api.go | 2 +- doc/api/endpoint_scaninfo.txt | 2 +- scan/crypto/rsa/rsa.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/multirootca/api.go b/cmd/multirootca/api.go index 60cbc2408..44842034b 100644 --- a/cmd/multirootca/api.go +++ b/cmd/multirootca/api.go @@ -30,7 +30,7 @@ var ( requests = promauto.NewCounterVec( prometheus.CounterOpts{ Name: "requests_total", - Help: "How many requests for each operation type and signer were succesfully processed.", + Help: "How many requests for each operation type and signer were successfully processed.", }, []string{"operation", "signer"}, ) diff --git a/doc/api/endpoint_scaninfo.txt b/doc/api/endpoint_scaninfo.txt index 7cdd1751d..20719e3cd 100644 --- a/doc/api/endpoint_scaninfo.txt +++ b/doc/api/endpoint_scaninfo.txt @@ -63,7 +63,7 @@ Example: "description": "Scans for host's SSL/TLS version and cipher suite negotiation", "scanners": { "CipherSuite": { - "description": "Determines host's cipher suites accepted and prefered order" + "description": "Determines host's cipher suites accepted and preferred order" }, "SigAlgs": { "description": "Determines host's accepted signature and hash algorithms" diff --git a/scan/crypto/rsa/rsa.go b/scan/crypto/rsa/rsa.go index ee022b803..dc57a6335 100644 --- a/scan/crypto/rsa/rsa.go +++ b/scan/crypto/rsa/rsa.go @@ -14,7 +14,7 @@ // possible. // // Two sets of interfaces are included in this package. When a more abstract -// interface isn't neccessary, there are functions for encrypting/decrypting +// interface isn't necessary, there are functions for encrypting/decrypting // with v1.5/OAEP and signing/verifying with v1.5/PSS. If one needs to abstract // over the public-key primitive, the PrivateKey struct implements the // Decrypter and Signer interfaces from the crypto package.