Skip to content

Commit

Permalink
temporarily silence checksrc
Browse files Browse the repository at this point in the history
  • Loading branch information
vszakats committed Oct 24, 2022
1 parent 048a6b4 commit c51a786
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/mbedtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@

#ifdef LIBSSH2_MBEDTLS /* compile only if we build with mbedtls */

#if MBEDTLS_VERSION_NUMBER < 0x03000000
/* !checksrc! disable LONGLINE 1 */
#define MBEDTLS_PRIVATE(m) m
#endif

/*******************************************************************/
/*
* mbedTLS backend: Global context handles
Expand Down
1 change: 0 additions & 1 deletion src/mbedtls.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
#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)
#define MBEDTLS_PRIVATE(m) m
#endif

/*******************************************************************/
Expand Down

0 comments on commit c51a786

Please sign in to comment.