From b0aba9a46e4c327b0da97139e23fa477ed06fc75 Mon Sep 17 00:00:00 2001 From: Joe Subbiani Date: Wed, 25 Aug 2021 09:56:57 +0100 Subject: [PATCH] Improve comments to be more accurate Signed-off-by: Joe Subbiani --- tests/compat.sh | 16 ++++++++-------- tests/scripts/translate_ciphers.py | 6 +++--- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/tests/compat.sh b/tests/compat.sh index dbd5e3900..f4c611ae7 100755 --- a/tests/compat.sh +++ b/tests/compat.sh @@ -339,10 +339,10 @@ add_common_ciphersuites() } # Ciphersuites usable only with Mbed TLS and OpenSSL -# Each ciphersuite is compiled case by case in the MBedTLS standard, and -# is appended to the list of MBedTLS ciphersuites $M_CIPHERS. The same list -# is translated to the OpenSSL naming standard and appended to the list of -# OpenSSL ciphersuites $O_CIPHERS +# A list of ciphersuites in the Mbed TLS convention is compiled and +# appended to the list of Mbed TLS ciphersuites $M_CIPHERS. The same list +# is translated to the OpenSSL naming convention and appended to the list of +# OpenSSL ciphersuites $O_CIPHERS. # # NOTE: for some reason RSA-PSK doesn't work with OpenSSL, # so RSA-PSK ciphersuites need to go in other sections, see @@ -423,10 +423,10 @@ add_openssl_ciphersuites() } # Ciphersuites usable only with Mbed TLS and GnuTLS -# Each ciphersuite is compiled case by case in the MBedTLS standard, and -# is appended to the list of MBedTLS ciphersuites $M_CIPHERS. The same list -# is translated to the GnuTLS naming standard and appended to the list of -# GnuTLS ciphersuites $G_CIPHERS +# A list of ciphersuites in the Mbed TLS convention is compiled and +# appended to the list of Mbed TLS ciphersuites $M_CIPHERS. The same list +# is translated to the GnuTLS naming convention and appended to the list of +# GnuTLS ciphersuites $G_CIPHERS. add_gnutls_ciphersuites() { CIPHERS="" diff --git a/tests/scripts/translate_ciphers.py b/tests/scripts/translate_ciphers.py index 7bbc1d74d..6f6c5d824 100755 --- a/tests/scripts/translate_ciphers.py +++ b/tests/scripts/translate_ciphers.py @@ -18,7 +18,7 @@ # limitations under the License. """ -Translate ciphersuite names in MBedTLS format to OpenSSL and GNUTLS +Translate ciphersuite names in Mbed TLS format to OpenSSL and GNUTLS standards. To test the translation functions run: @@ -504,7 +504,7 @@ class TestTranslateCiphers(unittest.TestCase): def translate_gnutls(m_cipher): """ - Translate m_cipher from MBedTLS ciphersuite naming convention + Translate m_cipher from Mbed TLS ciphersuite naming convention and return the GnuTLS naming convention """ @@ -532,7 +532,7 @@ def translate_gnutls(m_cipher): def translate_ossl(m_cipher): """ - Translate m_cipher from MBedTLS ciphersuite naming convention + Translate m_cipher from Mbed TLS ciphersuite naming convention and return the OpenSSL naming convention """