From 069c5ae917709f2fd1540cc4ce6bd4334e0db47b Mon Sep 17 00:00:00 2001 From: Magnus Larsen Date: Mon, 22 Jun 2020 19:16:20 +0200 Subject: [PATCH] Spelling --- doc/testssl.1.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/testssl.1.md b/doc/testssl.1.md index 227ffbd..c15f3ee 100644 --- a/doc/testssl.1.md +++ b/doc/testssl.1.md @@ -410,7 +410,6 @@ As of writing, these checks are missing: #### STARTTLS This program rates STARTTLS connections, exactly according to the specification. However, this program adds a grade warning about STARTTLS is being used. This is not apart of the rating specification, and limits the grade a STARTTLS connection can have, to a maximum of `A-`. - #### Implementing new grades caps or -warnings To implement a new grading cap, simply call the `set_grade_cap()` function, with the grade and a reason: ```bash @@ -423,14 +422,14 @@ set_grade_warning "Documentation is always right" #### Implementing a new check which contains grade caps When implementing a new check (be it vulnerability or not) that sets grade caps, the `set_rating_state()` has to be updated (i.e. the `$do_mycheck` variable-name has to be added to the loop, and `$nr_enabled` if-statement has to be incremented) -The `set_rating_state()` automatically disables ratinng, if all the required checks are *not* enabled. +The `set_rating_state()` automatically disables rating, if all the required checks are *not* enabled. This is to prevent giving out a misleading or wrong grade. #### Implementing a new revision When a new revision of the rating specification comes around, the following has to be done: * New grade caps has to be either: 1. Added to the script wherever relevant, or - 2. Added to the above list of missing checks (if *i.* is not possible) + 2. Added to the above list of missing checks (if above is not possible) * New grade warnings has to be added wherever relevant * The revision output in `run_rating()` function has to updated