Skip to content

Commit

Permalink
Fix Typos
Browse files Browse the repository at this point in the history
CLA: trivial

Reviewed-by: Richard Levitte <[email protected]>
Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Matthias St. Pierre <[email protected]>
(Merged from openssl#9275)
  • Loading branch information
Coeur authored and mspncp committed Jul 1, 2019
1 parent 3f1679b commit 68756b1
Show file tree
Hide file tree
Showing 12 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -6985,7 +6985,7 @@
reason texts, thereby removing some of the footprint that may not
be interesting if those errors aren't displayed anyway.

NOTE: it's still possible for any application or module to have it's
NOTE: it's still possible for any application or module to have its
own set of error texts inserted. The routines are there, just not
used by default when no-err is given.
[Richard Levitte]
Expand Down Expand Up @@ -8951,7 +8951,7 @@ des-cbc 3624.96k 5258.21k 5530.91k 5624.30k 5628.26k
Changes between 0.9.6g and 0.9.6h [5 Dec 2002]

*) New function OPENSSL_cleanse(), which is used to cleanse a section of
memory from it's contents. This is done with a counter that will
memory from its contents. This is done with a counter that will
place alternating values in each byte. This can be used to solve
two issues: 1) the removal of calls to memset() by highly optimizing
compilers, and 2) cleansing with other values than 0, since those can
Expand Down
2 changes: 1 addition & 1 deletion NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@

Major changes between OpenSSL 0.9.7h and OpenSSL 0.9.7i [14 Oct 2005]:

o Give EVP_MAX_MD_SIZE it's old value, except for a FIPS build.
o Give EVP_MAX_MD_SIZE its old value, except for a FIPS build.

Major changes between OpenSSL 0.9.7g and OpenSSL 0.9.7h [11 Oct 2005]:

Expand Down
2 changes: 1 addition & 1 deletion apps/s_client.c
Original file line number Diff line number Diff line change
Expand Up @@ -2395,7 +2395,7 @@ int s_client_main(int argc, char **argv)
(void)BIO_flush(fbio);
/*
* The first line is the HTTP response. According to RFC 7230,
* it's formated exactly like this:
* it's formatted exactly like this:
*
* HTTP/d.d ddd Reason text\r\n
*/
Expand Down
4 changes: 2 additions & 2 deletions crypto/evp/bio_ok.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
of memory.
BIO_f_reliable splits data stream into blocks. Each block is prefixed
with it's length and suffixed with it's digest. So you need only
with its length and suffixed with its digest. So you need only
several Kbytes of memory to buffer single block before verifying
it's digest.
its digest.
BIO_f_reliable goes further and adds several important capabilities:
Expand Down
2 changes: 1 addition & 1 deletion crypto/store/store_lib.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ int OSSL_STORE_close(OSSL_STORE_CTX *ctx)
* Functions to generate OSSL_STORE_INFOs, one function for each type we
* support having in them as well as a generic constructor.
*
* In all cases, ownership of the object is transfered to the OSSL_STORE_INFO
* In all cases, ownership of the object is transferred to the OSSL_STORE_INFO
* and will therefore be freed when the OSSL_STORE_INFO is freed.
*/
static OSSL_STORE_INFO *store_info_new(int type, void *data)
Expand Down
2 changes: 1 addition & 1 deletion crypto/ui/ui_openssl.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
* systems that require something different.
*
* Note: we do not use SGTTY unless it's defined by the configuration. We
* may eventually opt to remove it's use entirely.
* may eventually opt to remove its use entirely.
*/

# if !defined(TERMIOS) && !defined(TERMIO) && !defined(SGTTY)
Expand Down
2 changes: 1 addition & 1 deletion doc/HOWTO/proxy_certificates.txt
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ Here is some skeleton code you can fill in:

/*
* process_rights() is supposed to be a procedure
* that takes a string and it's length, interprets
* that takes a string and its length, interprets
* it and sets the bits in the YOUR_RIGHTS pointed
* at by the third argument.
*/
Expand Down
2 changes: 1 addition & 1 deletion doc/man3/CMS_final.pod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ CMS_final - finalise a CMS_ContentInfo structure

=head1 DESCRIPTION

CMS_final() finalises the structure B<cms>. It's purpose is to perform any
CMS_final() finalises the structure B<cms>. Its purpose is to perform any
operations necessary on B<cms> (digest computation for example) and set the
appropriate fields. The parameter B<data> contains the content to be
processed. The B<dcont> parameter contains a BIO to write content to after
Expand Down
2 changes: 1 addition & 1 deletion include/openssl/ec.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const EC_METHOD *EC_GROUP_method_of(const EC_GROUP *group);
*/
int EC_METHOD_get_field_type(const EC_METHOD *meth);

/** Sets the generator and it's order/cofactor of a EC_GROUP object.
/** Sets the generator and its order/cofactor of a EC_GROUP object.
* \param group EC_GROUP object
* \param generator EC_POINT object with the generator.
* \param order the order of the group generated by the generator.
Expand Down
4 changes: 2 additions & 2 deletions include/openssl/store.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ OSSL_STORE_INFO *OSSL_STORE_load(OSSL_STORE_CTX *ctx);
int OSSL_STORE_eof(OSSL_STORE_CTX *ctx);

/*
* Check if an error occured
* Check if an error occurred
* Returns 1 if it did, 0 otherwise.
*/
int OSSL_STORE_error(OSSL_STORE_CTX *ctx);
Expand Down Expand Up @@ -117,7 +117,7 @@ int OSSL_STORE_close(OSSL_STORE_CTX *ctx);
* Functions to generate OSSL_STORE_INFOs, one function for each type we
* support having in them, as well as a generic constructor.
*
* In all cases, ownership of the object is transfered to the OSSL_STORE_INFO
* In all cases, ownership of the object is transferred to the OSSL_STORE_INFO
* and will therefore be freed when the OSSL_STORE_INFO is freed.
*/
OSSL_STORE_INFO *OSSL_STORE_INFO_new_NAME(char *name);
Expand Down
2 changes: 1 addition & 1 deletion test/conf_include_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ static int test_check_null_numbers(void)
}

/*
* Verify that a NULL config with a missing envrionment variable returns
* Verify that a NULL config with a missing environment variable returns
* a failure code.
*/
if (!TEST_int_eq(unsetenv("FNORD"), 0)
Expand Down
2 changes: 1 addition & 1 deletion test/dhtest.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ static int dh_test(void)
BN_free(q);
BN_free(g);
err2:
/* an error occured before priv_key was assigned to dh */
/* an error occurred before priv_key was assigned to dh */
BN_free(priv_key);
err3:
success:
Expand Down

0 comments on commit 68756b1

Please sign in to comment.