Skip to content

Commit

Permalink
Fix a few misspellings.
Browse files Browse the repository at this point in the history
Reviewed-by: Rich Salz <[email protected]>
Reviewed-by: Matt Caswell <[email protected]>
(Merged from openssl#1618)
  • Loading branch information
FdaSilvaYY authored and mattcaswell committed Jan 25, 2017
1 parent 07a38fd commit 48722ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion ssl/ssl_ciph.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions ssl/ssl_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions ssl/ssl_locl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 48722ff

Please sign in to comment.