1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-21 14:00:51 +03:00

mbedTLS: Avoid multiple definition errors for context handles (#197)

This commit is contained in:
Brendan Shanks
2018-04-18 10:53:02 -07:00
committed by Will Cosgrove
parent d04f9b2bd3
commit 498a5f5b3f
2 changed files with 8 additions and 8 deletions

View File

@@ -39,6 +39,14 @@
#ifdef LIBSSH2_MBEDTLS /* compile only if we build with mbedtls */
/*******************************************************************/
/*
* mbedTLS backend: Global context handles
*/
static mbedtls_entropy_context _libssh2_mbedtls_entropy;
static mbedtls_ctr_drbg_context _libssh2_mbedtls_ctr_drbg;
/*******************************************************************/
/*
* mbedTLS backend: Generic functions