From 48722ff5f0988128c85e3cd3169d6457d6450c11 Mon Sep 17 00:00:00 2001 From: FdaSilvaYY Date: Thu, 17 Nov 2016 23:55:43 +0100 Subject: [PATCH] Fix a few misspellings. Reviewed-by: Rich Salz Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/1618) --- ssl/ssl_ciph.c | 2 +- ssl/ssl_lib.c | 4 ++-- ssl/ssl_locl.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ssl/ssl_ciph.c b/ssl/ssl_ciph.c index feef184c48..88b99cca14 100644 --- a/ssl/ssl_ciph.c +++ b/ssl/ssl_ciph.c @@ -1602,7 +1602,7 @@ char *SSL_CIPHER_description(const SSL_CIPHER *cipher, char *buf, int len) case SSL_aGOST01: au = "GOST01"; break; - /* New GOST ciphersuites have both SSL_aGOST12 and SSL_aGOST01 bits */ + /* New GOST ciphersuites have both SSL_aGOST12 and SSL_aGOST01 bits */ case (SSL_aGOST12 | SSL_aGOST01): au = "GOST12"; break; diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c index fe17f3d64c..c25f76f344 100644 --- a/ssl/ssl_lib.c +++ b/ssl/ssl_lib.c @@ -3778,8 +3778,8 @@ void SSL_set_not_resumable_session_callback(SSL *ssl, /* * Allocates new EVP_MD_CTX and sets pointer to it into given pointer * variable, freeing EVP_MD_CTX previously stored in that variable, if any. - * If EVP_MD pointer is passed, initializes ctx with this md Returns newly - * allocated ctx; + * If EVP_MD pointer is passed, initializes ctx with this md. + * Returns the newly allocated ctx; */ EVP_MD_CTX *ssl_replace_hash(EVP_MD_CTX **hash, const EVP_MD *md) diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h index 27bfd9e1f0..c7e7872dbd 100644 --- a/ssl/ssl_locl.h +++ b/ssl/ssl_locl.h @@ -1118,7 +1118,7 @@ struct ssl_st { * If they are not, the connection should be aborted. */ ssl_ct_validation_cb ct_validation_callback; - /* User-supplied argument tha tis passed to the ct_validation_callback */ + /* User-supplied argument that is passed to the ct_validation_callback */ void *ct_validation_callback_arg; /* * Consolidated stack of SCTs from all sources. @@ -1525,8 +1525,8 @@ typedef struct cert_st { /* * Client authentication signature algorithms, if not set then uses * conf_sigalgs. On servers these will be the signature algorithms sent - * to the client in a cerificate request for TLS 1.2. On a client this - * represents the signature algortithms we are willing to use for client + * to the client in a certificate request for TLS 1.2. On a client this + * represents the signature algorithms we are willing to use for client * authentication. */ unsigned int *client_sigalgs; -- 2.25.1