mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-12-24 17:41:01 +03:00
Fix misplaced #endif in ssl_tls.c
This commit is contained in:
@@ -19,6 +19,7 @@ Bugfix
|
||||
* Fix false reject in padding check in ssl_decrypt_buf() for CBC
|
||||
ciphersuites, for full SSL frames of data.
|
||||
* Fix dependencies issues in X.509 test suite.
|
||||
* Some parts of ssl_tls.c were compiled even when the module was disabled.
|
||||
|
||||
= PolarSSL 1.3.6 released on 2014-04-11
|
||||
|
||||
|
||||
@@ -4753,8 +4753,6 @@ md_type_t ssl_md_alg_from_hash( unsigned char hash )
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(POLARSSL_SSL_SET_CURVES)
|
||||
/*
|
||||
* Check is a curve proposed by the peer is in our list.
|
||||
@@ -4852,3 +4850,5 @@ int ssl_check_cert_usage( const x509_crt *cert,
|
||||
return( 0 );
|
||||
}
|
||||
#endif /* POLARSSL_X509_CRT_PARSE_C */
|
||||
|
||||
#endif /* POLARSSL_SSL_TLS_C */
|
||||
|
||||
Reference in New Issue
Block a user