mirror of
https://github.com/libssh2/libssh2.git
synced 2025-11-21 14:00:51 +03:00
cleanup
This commit is contained in:
committed by
Viktor Szakats
parent
c51a78657f
commit
f0583d5608
@@ -40,6 +40,10 @@
|
|||||||
#ifdef LIBSSH2_MBEDTLS /* compile only if we build with mbedtls */
|
#ifdef LIBSSH2_MBEDTLS /* compile only if we build with mbedtls */
|
||||||
|
|
||||||
#if MBEDTLS_VERSION_NUMBER < 0x03000000
|
#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 */
|
/* !checksrc! disable LONGLINE 1 */
|
||||||
#define MBEDTLS_PRIVATE(m) m
|
#define MBEDTLS_PRIVATE(m) m
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -96,11 +96,6 @@
|
|||||||
|
|
||||||
#define EC_MAX_POINT_LEN ((528 * 2 / 8) + 1)
|
#define EC_MAX_POINT_LEN ((528 * 2 / 8) + 1)
|
||||||
|
|
||||||
#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)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*******************************************************************/
|
/*******************************************************************/
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user