mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-27 13:11:41 +01:00
components/openssl: add some function description
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
|
||||
#include "platform/ssl_port.h"
|
||||
#include "internal/ssl_x509.h"
|
||||
#include "internal/ssl_pkey.h"
|
||||
|
||||
/*
|
||||
{
|
||||
@@ -426,6 +427,26 @@ const char *SSL_get_version(const SSL *ssl);
|
||||
*/
|
||||
int SSL_CTX_set_ssl_version(SSL_CTX *ctx, const SSL_METHOD *meth);
|
||||
|
||||
/**
|
||||
* @brief get the bytes numbers which are to be read
|
||||
*
|
||||
* @param ssl - SSL point
|
||||
*
|
||||
* @return bytes number
|
||||
*/
|
||||
int SSL_pending(const SSL *ssl);
|
||||
|
||||
/**
|
||||
* @brief check if SSL want nothing
|
||||
*
|
||||
* @param ssl - SSL point
|
||||
*
|
||||
* @return result
|
||||
* 0 : false
|
||||
* 1 : true
|
||||
*/
|
||||
int SSL_want_nothing(const SSL *ssl);
|
||||
|
||||
/**
|
||||
* @brief get the SSL context current method
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user