mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-23 09:41:08 +00:00
Merge remote-tracking branch 'origin/pr/2094' into mbedtls-2.7
* origin/pr/2094: Adapt ChangeLog Add parentheses about parameter of MBEDTLS_X509_ID_FLAG
This commit is contained in:
commit
2b56a2c945
|
@ -31,6 +31,10 @@ Bugfix
|
||||||
GCM and CCM were not affected. Fixed by Jack Lloyd.
|
GCM and CCM were not affected. Fixed by Jack Lloyd.
|
||||||
* Fix incorrect default port number in ssl_mail_client example's usage.
|
* Fix incorrect default port number in ssl_mail_client example's usage.
|
||||||
Found and fixed by irwir. #2337
|
Found and fixed by irwir. #2337
|
||||||
|
* Add missing parentheses around parameters in the definition of the
|
||||||
|
public macro MBEDTLS_X509_ID_FLAG. This could lead to invalid evaluation
|
||||||
|
in case operators binding less strongly than subtraction were used
|
||||||
|
for the parameter.
|
||||||
|
|
||||||
Changes
|
Changes
|
||||||
* Return from various debugging routines immediately if the
|
* Return from various debugging routines immediately if the
|
||||||
|
|
|
@ -98,7 +98,7 @@ mbedtls_x509_crt;
|
||||||
* Build flag from an algorithm/curve identifier (pk, md, ecp)
|
* Build flag from an algorithm/curve identifier (pk, md, ecp)
|
||||||
* Since 0 is always XXX_NONE, ignore it.
|
* Since 0 is always XXX_NONE, ignore it.
|
||||||
*/
|
*/
|
||||||
#define MBEDTLS_X509_ID_FLAG( id ) ( 1 << ( id - 1 ) )
|
#define MBEDTLS_X509_ID_FLAG( id ) ( 1 << ( ( id ) - 1 ) )
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Security profile for certificate verification.
|
* Security profile for certificate verification.
|
||||||
|
|
Loading…
Reference in a new issue