aboutsummaryrefslogtreecommitdiff
path: root/include/openssl
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2017-03-28 23:57:28 +0200
committerRichard Levitte <levitte@openssl.org>2017-03-29 07:14:29 +0200
commit69687aa829bc8bdcaf5468eb3dd0ada13700b7aa (patch)
tree564244011bcb19ef2157b0dac249aea3e1440cae /include/openssl
parent7bd278957d27e09511520dabdc8696366ffb2b96 (diff)
downloadopenssl-69687aa829bc8bdcaf5468eb3dd0ada13700b7aa.zip
openssl-69687aa829bc8bdcaf5468eb3dd0ada13700b7aa.tar.gz
openssl-69687aa829bc8bdcaf5468eb3dd0ada13700b7aa.tar.bz2
More typo fixes
Fix some comments too [skip ci] Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3069)
Diffstat (limited to 'include/openssl')
-rw-r--r--include/openssl/bio.h2
-rw-r--r--include/openssl/objects.h4
-rw-r--r--include/openssl/ui.h2
-rw-r--r--include/openssl/x509.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/include/openssl/bio.h b/include/openssl/bio.h
index 2fb9023..0cf095e 100644
--- a/include/openssl/bio.h
+++ b/include/openssl/bio.h
@@ -170,7 +170,7 @@ extern "C" {
/*
* This is used with memory BIOs:
* BIO_FLAGS_MEM_RDONLY means we shouldn't free up or change the data in any way;
- * BIO_FLAGS_NONCLEAR_RST means we should't clear data on reset.
+ * BIO_FLAGS_NONCLEAR_RST means we shouldn't clear data on reset.
*/
# define BIO_FLAGS_MEM_RDONLY 0x200
# define BIO_FLAGS_NONCLEAR_RST 0x400
diff --git a/include/openssl/objects.h b/include/openssl/objects.h
index b554add..265d8e5 100644
--- a/include/openssl/objects.h
+++ b/include/openssl/objects.h
@@ -91,7 +91,7 @@ const void *OBJ_bsearch_ex_(const void *key, const void *base, int num,
* const void *a_;
* const nid_triple const *a = a_;
*
- * The assignement discards a const because what you really want is:
+ * The assignment discards a const because what you really want is:
*
* const int const * const *a = a_;
*
@@ -99,7 +99,7 @@ const void *OBJ_bsearch_ex_(const void *key, const void *base, int num,
* which breaks comparison functions.
*
* Thus we end up having to cast, sadly, or unpack the
- * declarations. Or, as I finally did in this case, delcare nid_triple
+ * declarations. Or, as I finally did in this case, declare nid_triple
* to be a struct, which it should have been in the first place.
*
* Ben, August 2008.
diff --git a/include/openssl/ui.h b/include/openssl/ui.h
index a5fedb5..fd8f898 100644
--- a/include/openssl/ui.h
+++ b/include/openssl/ui.h
@@ -207,7 +207,7 @@ const UI_METHOD *UI_set_method(UI *ui, const UI_METHOD *meth);
UI_METHOD *UI_OpenSSL(void);
/*
- * NULL method. Literarily does nothing, but may serve as a placeholder
+ * NULL method. Literally does nothing, but may serve as a placeholder
* to avoid internal default.
*/
const UI_METHOD *UI_null(void);
diff --git a/include/openssl/x509.h b/include/openssl/x509.h
index 038cef9..d23fad8 100644
--- a/include/openssl/x509.h
+++ b/include/openssl/x509.h
@@ -641,7 +641,7 @@ int X509_get_signature_type(const X509 *x);
/*
* This one is only used so that a binary form can output, as in
- * i2d_X509_NAME(X509_get_X509_PUBKEY(x),&buf)
+ * i2d_X509_NAME(X509_get_X509_PUBKEY(x), &buf)
*/
X509_PUBKEY *X509_get_X509_PUBKEY(const X509 *x);
const STACK_OF(X509_EXTENSION) *X509_get0_extensions(const X509 *x);