commit | 9a8e82b7b4e1c22a86795eda1b7e1ad261fc1f11 | [log] [tgz] |
---|---|---|
author | b.liu <b.liu@mobiletek.cn> | Tue Oct 10 16:09:50 2023 +0800 |
committer | b.liu <b.liu@mobiletek.cn> | Tue Oct 10 16:09:50 2023 +0800 |
tree | 9007f8cec0b42d58f79fb10043ff93d9bb3d41ec | |
parent | 8883171b9abf1e5f3ea3c3e4358474a019bb7f26 [diff] [blame] |
Fix polarssl Change-Id: I4b461ce72f7e828c689f1190dec78bea40f60d50
diff --git a/mbtk/mbtk_lib/inc/mbtk_sock_internal.h b/mbtk/mbtk_lib/inc/mbtk_sock_internal.h index e0cbaa0..4ee7125 100755 --- a/mbtk/mbtk_lib/inc/mbtk_sock_internal.h +++ b/mbtk/mbtk_lib/inc/mbtk_sock_internal.h
@@ -9,6 +9,7 @@ typedef struct { int fd; mbtk_sock_type type; // socket type:TCP or UDP +#ifdef MBTK_POLARSSL_SUPPORT entropy_context* entropy; ctr_drbg_context* ctr_drbg; ssl_context *ssl; @@ -16,6 +17,7 @@ x509_crt *cacert; x509_crt *clicert; pk_context* pkey; +#endif } mbtk_sock_inter_info_s; typedef struct {