openssl_server_example.h 986 B

123456789101112131415161718192021222324252627282930313233
  1. /* OpenSSL server Example
  2. This example code is in the Public Domain (or CC0 licensed, at your option.)
  3. Unless required by applicable law or agreed to in writing, this
  4. software is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
  5. CONDITIONS OF ANY KIND, either express or implied.
  6. */
  7. #ifndef _OPENSSL_SERVER_H_
  8. #define _OPENSSL_SERVER_H_
  9. #include "sdkconfig.h"
  10. /* The examples use simple WiFi configuration that you can set via
  11. 'make menuconfig'.
  12. If you'd rather not, just change the below entries to strings with
  13. the config you want - ie #define EXAMPLE_WIFI_SSID "mywifissid"
  14. */
  15. #define EXAMPLE_WIFI_SSID CONFIG_WIFI_SSID
  16. #define EXAMPLE_WIFI_PASS CONFIG_WIFI_PASSWORD
  17. #define OPENSSL_EXAMPLE_TASK_NAME "openssl_example"
  18. #define OPENSSL_EXAMPLE_TASK_STACK_WORDS 10240
  19. #define OPENSSL_EXAMPLE_TASK_PRIORITY 8
  20. #define OPENSSL_EXAMPLE_RECV_BUF_LEN 1024
  21. #define OPENSSL_EXAMPLE_LOCAL_TCP_PORT 443
  22. #endif