mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-01-06 14:38:57 +01:00
Fix misplaced #endif in ssl_tls.c
This commit is contained in:
parent
edc81ff8c2
commit
3a306b9067
2 changed files with 3 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue