1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-11-20 02:42:09 +03:00
This commit is contained in:
Viktor Szakats
2022-10-22 01:11:42 +00:00
committed by Viktor Szakats
parent c51a78657f
commit f0583d5608
2 changed files with 4 additions and 5 deletions

View File

@@ -40,6 +40,10 @@
#ifdef LIBSSH2_MBEDTLS /* compile only if we build with mbedtls */
#if MBEDTLS_VERSION_NUMBER < 0x03000000
#define mbedtls_cipher_info_get_key_bitlen(c) (c->key_bitlen)
#define mbedtls_cipher_info_get_iv_size(c) (c->iv_size)
#define mbedtls_rsa_get_len(rsa) (rsa->len)
/* !checksrc! disable LONGLINE 1 */
#define MBEDTLS_PRIVATE(m) m
#endif