mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-03 00:21:44 +01:00
asio: option to use wolfSSL as TLS stack for ASIO
Plus other minor update, make openssl aware of current modes (SSL_set_mode) Update coding style in examples and tests, including copyright notices
This commit is contained in:
@@ -22,8 +22,8 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @note This file contains a very simple implementation of error stack provided
|
||||
* OpenSSL library. It is OFF by default.
|
||||
* @note This file contains a very simple implementation of error stack
|
||||
* for ESP APIs stubs to OpenSSL
|
||||
*/
|
||||
|
||||
#define OPENSSL_PUT_SYSTEM_ERROR() \
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "internal/ssl_x509.h"
|
||||
#include "internal/ssl_pkey.h"
|
||||
#include "openssl/bio.h"
|
||||
#include "openssl/openssl_err.h"
|
||||
#include "openssl/err.h"
|
||||
|
||||
/*
|
||||
{
|
||||
@@ -1888,6 +1888,15 @@ openssl_verify_callback SSL_get_verify_callback(const SSL *s);
|
||||
*/
|
||||
void RSA_free(RSA *r);
|
||||
|
||||
/**
|
||||
* @brief Sets SSL mode, partially implemented
|
||||
*
|
||||
* @param ssl SSL context
|
||||
*
|
||||
* @return the new mode bitmask after adding mode
|
||||
*/
|
||||
uint32_t SSL_set_mode(SSL *ssl, uint32_t mode);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user