Merge pull request #3168 from ethanlooney/16th_branch

Added semicolons to two functions to fix doxygen issues and deleted ssl param and replaced it with ctx param
This commit is contained in:
Chris Conlon
2020-07-29 09:31:14 -06:00
committed by GitHub

View File

@@ -2680,7 +2680,7 @@ WOLFSSL_API int wolfSSL_library_init(void);
\sa wolfSSL_CTX_SetDevId \sa wolfSSL_CTX_SetDevId
\sa wolfSSL_CTX_GetDevId \sa wolfSSL_CTX_GetDevId
*/ */
WOLFSSL_API int wolfSSL_SetDevId(WOLFSSL* ssl, int devId) WOLFSSL_API int wolfSSL_SetDevId(WOLFSSL* ssl, int devId);
/*! /*!
\brief This function sets the Device Id at the WOLFSSL_CTX context level. \brief This function sets the Device Id at the WOLFSSL_CTX context level.
@@ -2688,7 +2688,7 @@ WOLFSSL_API int wolfSSL_SetDevId(WOLFSSL* ssl, int devId)
\return WOLFSSL_SUCCESS upon success. \return WOLFSSL_SUCCESS upon success.
\return BAD_FUNC_ARG if ssl is NULL. \return BAD_FUNC_ARG if ssl is NULL.
\param ssl pointer to a SSL object, created with wolfSSL_new(). \param ctx pointer to the SSL context, created with wolfSSL_CTX_new().
\param devId ID to use with async hardware \param devId ID to use with async hardware
_Example_ _Example_
@@ -2703,7 +2703,7 @@ WOLFSSL_API int wolfSSL_SetDevId(WOLFSSL* ssl, int devId)
\sa wolfSSL_SetDevId \sa wolfSSL_SetDevId
\sa wolfSSL_CTX_GetDevId \sa wolfSSL_CTX_GetDevId
*/ */
WOLFSSL_API int wolfSSL_CTX_SetDevId(WOLFSSL_CTX* ctx, int devId) WOLFSSL_API int wolfSSL_CTX_SetDevId(WOLFSSL_CTX* ctx, int devId);
/*! /*!
\brief This function retrieves the Device Id. \brief This function retrieves the Device Id.