Merge pull request #6139 from AdityaHPatwardhan/fix/build_error_due_to_missing_prototype
Fix build error due to missing prototype warning when `MBEDTLS_DEPRECATED_REMOVED` is enabled
This commit is contained in:
commit
f421d45869
@ -0,0 +1,3 @@
|
||||
Bugfix
|
||||
* Fix build error due to missing prototype
|
||||
warning when MBEDTLS_DEPRECATED_REMOVED is enabled
|
@ -2502,6 +2502,7 @@ void mbedtls_ssl_get_dtls_srtp_negotiation_result( const mbedtls_ssl_context *ss
|
||||
}
|
||||
#endif /* MBEDTLS_SSL_DTLS_SRTP */
|
||||
|
||||
#if !defined(MBEDTLS_DEPRECATED_REMOVED)
|
||||
void mbedtls_ssl_conf_max_version( mbedtls_ssl_config *conf, int major, int minor )
|
||||
{
|
||||
conf->max_tls_version = (major << 8) | minor;
|
||||
@ -2511,6 +2512,7 @@ void mbedtls_ssl_conf_min_version( mbedtls_ssl_config *conf, int major, int mino
|
||||
{
|
||||
conf->min_tls_version = (major << 8) | minor;
|
||||
}
|
||||
#endif /* MBEDTLS_DEPRECATED_REMOVED */
|
||||
|
||||
#if defined(MBEDTLS_SSL_SRV_C)
|
||||
void mbedtls_ssl_conf_cert_req_ca_list( mbedtls_ssl_config *conf,
|
||||
|
Loading…
Reference in New Issue
Block a user