1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-02 10:53:16 +03:00

Define new Diffie-Hellman context for mbedTLS

This commit is contained in:
Patrick Monnerat
2016-11-13 08:48:49 +01:00
committed by Alexander Lamaison
parent c8c1b4a050
commit 028a0ba4ed

View File

@@ -257,6 +257,14 @@ mbedtls_ctr_drbg_context _libssh2_mbedtls_ctr_drbg;
mbedtls_mpi_free(bn)
/*******************************************************************/
/*
* mbedTLS backend: Diffie-Hellman support.
*/
#define _libssh2_dh_ctx _libssh2_bn *
/*******************************************************************/
/*
* mbedTLS backend: forward declarations