Skip to content

Commit

Permalink
Various typo
Browse files Browse the repository at this point in the history
Reviewed-by: Richard Levitte <[email protected]>
Reviewed-by: Ben Kaduk <[email protected]>
(Merged from openssl#4457)
  • Loading branch information
FdaSilvaYY committed Nov 7, 2017
1 parent f479eab commit f4411fa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions crypto/engine/eng_devcrypto.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)];
Expand Down Expand Up @@ -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)];
Expand Down
2 changes: 1 addition & 1 deletion doc/man3/ASN1_TIME_set.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion doc/man3/SSL_read_early_data.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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<SSL_read_ex(3)>.

=item SSL_READ_EARLY_DATA_SUCCESS
Expand Down
2 changes: 1 addition & 1 deletion doc/man3/UI_new.pod
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f4411fa

Please sign in to comment.