|
@@ -4493,7 +4493,7 @@ WOLFSSL_API WOLFSSL_STACK* wolfSSL_X509_STORE_CTX_get_chain(
|
|
|
is WOLFSSL_CRL_CHECK.
|
|
|
|
|
|
\return SSL_SUCCESS If no errors were encountered when setting the flag.
|
|
|
- \return <0 a negative vlaue will be returned upon failure.
|
|
|
+ \return <0 a negative value will be returned upon failure.
|
|
|
|
|
|
\param str certificate store to set flag in.
|
|
|
\param flag flag for behavior.
|
|
@@ -4901,7 +4901,7 @@ WOLFSSL_API void wolfSSL_CTX_set_psk_client_callback(WOLFSSL_CTX*,
|
|
|
WOLFSSL* ssl;
|
|
|
unsigned int cb(WOLFSSL*, const char*, char*) // Header of function*
|
|
|
{
|
|
|
- // Funciton body
|
|
|
+ // Function body
|
|
|
}
|
|
|
…
|
|
|
cb = wc_psk_client_callback;
|
|
@@ -5000,7 +5000,7 @@ WOLFSSL_API const char* wolfSSL_get_psk_identity(const WOLFSSL*);
|
|
|
…
|
|
|
ret = wolfSSL_CTX_use_psk_identity_hint(ctx, hint);
|
|
|
if(ret == SSL_SUCCESS){
|
|
|
- // Function was succesfull.
|
|
|
+ // Function was successful.
|
|
|
return ret;
|
|
|
} else {
|
|
|
// Failure case.
|
|
@@ -5187,7 +5187,7 @@ WOLFSSL_API WOLFSSL_METHOD *wolfSSLv23_server_method(void);
|
|
|
|
|
|
\brief This is used to get the internal error state of the WOLFSSL structure.
|
|
|
|
|
|
- \return wolfssl_error returns ssl error state, usualy a negative
|
|
|
+ \return wolfssl_error returns ssl error state, usually a negative
|
|
|
\return BAD_FUNC_ARG if ssl is NULL.
|
|
|
|
|
|
\return ssl WOLFSSL structure to get state from.
|
|
@@ -5399,7 +5399,7 @@ WOLFSSL_API const char* wolfSSL_lib_version(void);
|
|
|
\brief This function returns the current library version in hexadecimal
|
|
|
notation.
|
|
|
|
|
|
- \return LILBWOLFSSL_VERSION_HEX returns the hexidecimal version defined in
|
|
|
+ \return LILBWOLFSSL_VERSION_HEX returns the hexadecimal version defined in
|
|
|
wolfssl/version.h.
|
|
|
|
|
|
\param none No parameters.
|
|
@@ -6448,7 +6448,7 @@ WOLFSSL_API int wolfSSL_CTX_SetTmpDH_buffer(WOLFSSL_CTX*, const unsigned char*
|
|
|
a subroutine is passed a NULL argument.
|
|
|
\return SSL_BAD_FILE returned if the certificate file is unable to open or
|
|
|
if the a set of checks on the file fail from wolfSSL_SetTmpDH_file_wrapper.
|
|
|
- \return SSL_BAD_FILETYPE returned if teh format is not PEM or ASN.1 from
|
|
|
+ \return SSL_BAD_FILETYPE returned if the format is not PEM or ASN.1 from
|
|
|
wolfSSL_SetTmpDH_buffer_wrapper().
|
|
|
\return DH_KEY_SIZE_E returned if the DH parameter's key size is less than
|
|
|
the value of the minDhKeySz member of the WOLFSSL_CTX struct.
|
|
@@ -9497,7 +9497,7 @@ WOLFSSL_API int wolfSSL_SetOCSP_OverrideURL(WOLFSSL*, const char*);
|
|
|
WOLFSSL_CERT_MANAGER structure.
|
|
|
|
|
|
\return SSL_SUCCESS returned if the function executes without error.
|
|
|
- The ocspIOCb, ocspRespFreeCb, and ocspIOCtx memebers of the CM are set.
|
|
|
+ The ocspIOCb, ocspRespFreeCb, and ocspIOCtx members of the CM are set.
|
|
|
\return BAD_FUNC_ARG returned if the WOLFSSL or WOLFSSL_CERT_MANAGER
|
|
|
structures are NULL.
|
|
|
|