mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-11 22:24:19 +01:00
Improve some comments
This commit is contained in:
parent
aefd2dcd5b
commit
fcc4348ee2
@ -1587,7 +1587,7 @@ void mbedtls_ssl_conf_cert_profile( mbedtls_ssl_config *conf,
|
|||||||
/**
|
/**
|
||||||
* \brief Set the data required to verify peer certificate
|
* \brief Set the data required to verify peer certificate
|
||||||
*
|
*
|
||||||
* \note See \c mbedtls_x509_verify() for notes regarding the
|
* \note See \c mbedtls_x509_crt_verify() for notes regarding the
|
||||||
* parameters ca_chain (maps to trust_ca for that function)
|
* parameters ca_chain (maps to trust_ca for that function)
|
||||||
* and ca_crl.
|
* and ca_crl.
|
||||||
*
|
*
|
||||||
|
@ -37,6 +37,7 @@ my $config_h = 'include/mbedtls/config.h';
|
|||||||
my $ssl_sed_cmd = 's/^#define \(MBEDTLS_SSL.*\)/\1/p';
|
my $ssl_sed_cmd = 's/^#define \(MBEDTLS_SSL.*\)/\1/p';
|
||||||
my @ssl = split( /\s+/, `sed -n -e '$ssl_sed_cmd' $config_h` );
|
my @ssl = split( /\s+/, `sed -n -e '$ssl_sed_cmd' $config_h` );
|
||||||
|
|
||||||
|
# for md we want to catch MD5_C but not MD_C, hence the extra dot
|
||||||
my $mdx_sed_cmd = 's/^#define \(MBEDTLS_MD..*_C\)/\1/p';
|
my $mdx_sed_cmd = 's/^#define \(MBEDTLS_MD..*_C\)/\1/p';
|
||||||
my $sha_sed_cmd = 's/^#define \(MBEDTLS_SHA.*_C\)/\1/p';
|
my $sha_sed_cmd = 's/^#define \(MBEDTLS_SHA.*_C\)/\1/p';
|
||||||
my @hashes = split( /\s+/,
|
my @hashes = split( /\s+/,
|
||||||
|
Loading…
Reference in New Issue
Block a user