summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntoine Cœur <coeur@gmx.fr>2019-07-01 02:02:06 +0800
committerAntoine Cœur <coeur@gmx.fr>2019-07-01 02:02:06 +0800
commit25ccb5896bbf28b74d4d72010948b0ac7d141622 (patch)
tree897e1c770dcddcbcd70369aecdd6359668e0040c
parentf987a4dd8929b4552f2fa19f09fd2d4115709647 (diff)
Fix Typos
CLA: trivial Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/9275)
-rw-r--r--CHANGES4
-rw-r--r--NEWS2
-rw-r--r--apps/s_client.c2
-rw-r--r--crypto/evp/bio_ok.c4
-rw-r--r--crypto/store/store_lib.c2
-rw-r--r--crypto/ui/ui_openssl.c2
-rw-r--r--doc/HOWTO/proxy_certificates.txt2
-rw-r--r--doc/man3/CMS_final.pod2
-rw-r--r--include/openssl/ec.h2
-rw-r--r--include/openssl/store.h4
-rw-r--r--test/conf_include_test.c2
-rw-r--r--test/dhtest.c2
-rwxr-xr-xutil/mkdef.pl2
13 files changed, 16 insertions, 16 deletions
diff --git a/CHANGES b/CHANGES
index c5cd38b6fd..09c17f70f4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6884,7 +6884,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]
@@ -8850,7 +8850,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
diff --git a/NEWS b/NEWS
index 8547a2ebdc..f6264bf6b7 100644
--- a/NEWS
+++ b/NEWS
@@ -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]:
diff --git a/apps/s_client.c b/apps/s_client.c
index b85339a0b8..26a6789d81 100644
--- a/apps/s_client.c
+++ b/apps/s_client.c
@@ -2345,7 +2345,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
*/
diff --git a/crypto/evp/bio_ok.c b/crypto/evp/bio_ok.c
index a0462219be..54d83bdcc2 100644
--- a/crypto/evp/bio_ok.c
+++ b/crypto/evp/bio_ok.c
@@ -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:
diff --git a/crypto/store/store_lib.c b/crypto/store/store_lib.c
index 1c43547666..06bc7f7afd 100644
--- a/crypto/store/store_lib.c
+++ b/crypto/store/store_lib.c
@@ -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)
diff --git a/crypto/ui/ui_openssl.c b/crypto/ui/ui_openssl.c
index 5ca418d248..0ec9f0daf3 100644
--- a/crypto/ui/ui_openssl.c
+++ b/crypto/ui/ui_openssl.c
@@ -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)
diff --git a/doc/HOWTO/proxy_certificates.txt b/doc/HOWTO/proxy_certificates.txt
index 2936cd6e51..3c42349261 100644
--- a/doc/HOWTO/proxy_certificates.txt
+++ b/doc/HOWTO/proxy_certificates.txt
@@ -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.
*/
diff --git a/doc/man3/CMS_final.pod b/doc/man3/CMS_final.pod
index 264fe7bc3b..e40ee5bdee 100644
--- a/doc/man3/CMS_final.pod
+++ b/doc/man3/CMS_final.pod
@@ -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
diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index 347cfb6d09..0dec972c85 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -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.
diff --git a/include/openssl/store.h b/include/openssl/store.h
index 7b43e8bd03..cda8c97916 100644
--- a/include/openssl/store.h
+++ b/include/openssl/store.h
@@ -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);
@@ -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);
diff --git a/test/conf_include_test.c b/test/conf_include_test.c
index ee02d9b3fb..74c571d2f5 100644
--- a/test/conf_include_test.c
+++ b/test/conf_include_test.c
@@ -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)
diff --git a/test/dhtest.c b/test/dhtest.c
index 5b2fd6795f..84a04684e5 100644
--- a/test/dhtest.c
+++ b/test/dhtest.c
@@ -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:
diff --git a/util/mkdef.pl b/util/mkdef.pl
index bcbb475832..07974b56b5 100755
--- a/util/mkdef.pl
+++ b/util/mkdef.pl
@@ -360,7 +360,7 @@ sub do_defs
# params: symbol, alias, platforms, kind
# The reason to put this subroutine in a variable is that
- # it will otherwise create it's own, unshared, version of
+ # it will otherwise create its own, unshared, version of
# %tag and %variant...
my $make_variant = sub
{