X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=ustream-mbedtls.h;h=70bd4ea6fb95bd97f060e7928bf2bcbcd76d007c;hb=e8a14691313d72bac27f9060bc536cf2ad23256b;hp=a48986771c0993b9a11890a7341beb47355435e6;hpb=527e7002d0429465bd49c0c0d416ef22fbf5ae86;p=project%2Fustream-ssl.git diff --git a/ustream-mbedtls.h b/ustream-mbedtls.h index a489867..70bd4ea 100644 --- a/ustream-mbedtls.h +++ b/ustream-mbedtls.h @@ -28,11 +28,18 @@ #include #include +#if defined(MBEDTLS_SSL_CACHE_C) +#include +#endif + struct ustream_ssl_ctx { mbedtls_ssl_config conf; mbedtls_pk_context key; mbedtls_x509_crt ca_cert; mbedtls_x509_crt cert; +#if defined(MBEDTLS_SSL_CACHE_C) + mbedtls_ssl_cache_context cache; +#endif bool server; };