mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 12:53:29 +00:00
examples/10_openssl_server: fixup SSL server with method of specific version
1. add method of any version supporting at OpenSSL and add API in header file 2. change OpenSSL server context method to be method of any version Fixes http://esp32.com/viewtopic.php?f=14&t=696.
This commit is contained in:
6
examples/10_openssl_server/main/openssl_server.h
Normal file → Executable file
6
examples/10_openssl_server/main/openssl_server.h
Normal file → Executable file
@@ -7,8 +7,10 @@
|
||||
CONDITIONS OF ANY KIND, either express or implied.
|
||||
*/
|
||||
|
||||
#ifndef _OPENSSL_DEMO_H_
|
||||
#define _OPENSSL_DEMO_H_
|
||||
#ifndef _OPENSSL_SERVER_H_
|
||||
#define _OPENSSL_SERVER_H_
|
||||
|
||||
#include "sdkconfig.h"
|
||||
|
||||
/* The examples use simple WiFi configuration that you can set via
|
||||
'make menuconfig'.
|
||||
|
Reference in New Issue
Block a user