mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 19:38:21 +00:00
Improve some comments
This commit is contained in:
parent
a54f6cc874
commit
7766a2c9c0
2 changed files with 2 additions and 1 deletions
|
@ -1586,7 +1586,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 a new issue