2016-11-17 21:07:34 -05:00
|
|
|
/* OpenSSL server Example
|
|
|
|
|
|
|
|
This example code is in the Public Domain (or CC0 licensed, at your option.)
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, this
|
|
|
|
software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
|
|
|
|
CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
*/
|
|
|
|
|
2016-12-20 23:04:26 -05:00
|
|
|
#ifndef _OPENSSL_SERVER_H_
|
|
|
|
#define _OPENSSL_SERVER_H_
|
|
|
|
|
|
|
|
#include "sdkconfig.h"
|
2016-11-15 02:08:51 -05:00
|
|
|
|
2017-03-22 00:36:11 -04:00
|
|
|
#define OPENSSL_EXAMPLE_TASK_NAME "openssl_example"
|
|
|
|
#define OPENSSL_EXAMPLE_TASK_STACK_WORDS 10240
|
2017-08-22 16:27:57 -04:00
|
|
|
#define OPENSSL_EXAMPLE_TASK_PRIORITY 8
|
2016-11-15 02:08:51 -05:00
|
|
|
|
2017-03-22 00:36:11 -04:00
|
|
|
#define OPENSSL_EXAMPLE_RECV_BUF_LEN 1024
|
2016-11-15 02:08:51 -05:00
|
|
|
|
2017-03-22 00:36:11 -04:00
|
|
|
#define OPENSSL_EXAMPLE_LOCAL_TCP_PORT 443
|
2016-11-15 02:08:51 -05:00
|
|
|
|
|
|
|
#endif
|