From: FdaSilvaYY Date: Sun, 10 Sep 2017 10:06:27 +0000 (+0200) Subject: Various typo X-Git-Tag: OpenSSL_1_1_1-pre1~460 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f4411faac4a5dff7d3ded58d8a17664a6996b0e5;p=oweals%2Fopenssl.git Various typo Reviewed-by: Richard Levitte Reviewed-by: Ben Kaduk (Merged from https://github.com/openssl/openssl/pull/4457) --- diff --git a/crypto/engine/eng_devcrypto.c b/crypto/engine/eng_devcrypto.c index f2196b4e54..235e84b4dc 100644 --- a/crypto/engine/eng_devcrypto.c +++ b/crypto/engine/eng_devcrypto.c @@ -226,7 +226,7 @@ static int cipher_cleanup(EVP_CIPHER_CTX *ctx) /* * Keep a table of known nids and associated methods. - * Note that known_cipher_nids[] isn't necessarely indexed the same way as + * Note that known_cipher_nids[] isn't necessarily indexed the same way as * cipher_data[] above, which known_cipher_methods[] is. */ static int known_cipher_nids[OSSL_NELEM(cipher_data)]; @@ -495,7 +495,7 @@ static int digest_cleanup(EVP_MD_CTX *ctx) /* * Keep a table of known nids and associated methods. - * Note that known_digest_nids[] isn't necessarely indexed the same way as + * Note that known_digest_nids[] isn't necessarily indexed the same way as * digest_data[] above, which known_digest_methods[] is. */ static int known_digest_nids[OSSL_NELEM(digest_data)]; diff --git a/doc/man3/ASN1_TIME_set.pod b/doc/man3/ASN1_TIME_set.pod index 1bb5672457..d45cfe6d75 100644 --- a/doc/man3/ASN1_TIME_set.pod +++ b/doc/man3/ASN1_TIME_set.pod @@ -224,7 +224,7 @@ if the time is successfully printed out and 0 if an error occurred (I/O error or invalid time format). ASN1_TIME_to_tm() returns 1 if the time is successfully parsed and 0 if an -error occured (invalid time format). +error occurred (invalid time format). ASN1_TIME_diff() returns 1 for success and 0 for failure. It can fail if the passed-in time structure has invalid syntax, for example. diff --git a/doc/man3/SSL_read_early_data.pod b/doc/man3/SSL_read_early_data.pod index 10736841a1..da95a2a6db 100644 --- a/doc/man3/SSL_read_early_data.pod +++ b/doc/man3/SSL_read_early_data.pod @@ -115,7 +115,7 @@ SSL_read_early_data() may return 3 possible values: =item SSL_READ_EARLY_DATA_ERROR -This indicates an IO or some other error occured. This should be treated in the +This indicates an IO or some other error occurred. This should be treated in the same way as a 0 return value from L. =item SSL_READ_EARLY_DATA_SUCCESS diff --git a/doc/man3/UI_new.pod b/doc/man3/UI_new.pod index 39b24daa3c..3f622ec8ff 100644 --- a/doc/man3/UI_new.pod +++ b/doc/man3/UI_new.pod @@ -102,7 +102,7 @@ this UI, it should be freed using UI_free(). UI_new_method() creates a new UI using the given UI method. When done with this UI, it should be freed using UI_free(). -UI_OpenSSL() returns the built-in UI method (note: not necessarely the +UI_OpenSSL() returns the built-in UI method (note: not necessarily the default one, since the default can be changed. See further on). This method is the most machine/OS dependent part of OpenSSL and normally generates the most problems when porting.