aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/internal/dso.h2
-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
5 files changed, 6 insertions, 6 deletions
diff --git a/include/internal/dso.h b/include/internal/dso.h
index 6acd501..b1021cb 100644
--- a/include/internal/dso.h
+++ b/include/internal/dso.h
@@ -139,7 +139,7 @@ DSO_METHOD *DSO_METHOD_openssl(void);
* This function writes null-terminated pathname of DSO module containing
* 'addr' into 'sz' large caller-provided 'path' and returns the number of
* characters [including trailing zero] written to it. If 'sz' is 0 or
- * negative, 'path' is ignored and required amount of charachers [including
+ * negative, 'path' is ignored and required amount of characters [including
* trailing zero] to accommodate pathname is returned. If 'addr' is NULL, then
* pathname of cryptolib itself is returned. Negative or zero return value
* denotes error.
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);