mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 17:15:38 +01:00
Typo in PKCS#11 module
This commit is contained in:
parent
10a9dd35ea
commit
4ffcd2f9c3
@ -8,7 +8,8 @@ Changes
|
|||||||
Bugfix
|
Bugfix
|
||||||
* Only iterate over actual certificates in ssl_write_certificate_request()
|
* Only iterate over actual certificates in ssl_write_certificate_request()
|
||||||
(found by Matthew Page)
|
(found by Matthew Page)
|
||||||
* Typo in platform.c (found by Daniel Phillips)
|
* Typos in platform.c and pkcs11.c (found by Daniel Phillips and Steffan
|
||||||
|
Karger)
|
||||||
|
|
||||||
= PolarSSL 1.3.6 released on 2014-04-11
|
= PolarSSL 1.3.6 released on 2014-04-11
|
||||||
|
|
||||||
|
@ -189,7 +189,7 @@ int pkcs11_sign( pkcs11_context *ctx,
|
|||||||
}
|
}
|
||||||
|
|
||||||
sig_len = ctx->len;
|
sig_len = ctx->len;
|
||||||
if ( hashlen > ctx_len || asn_len > sig_len ||
|
if ( hashlen > sig_len || asn_len > sig_len ||
|
||||||
hashlen + asn_len > sig_len )
|
hashlen + asn_len > sig_len )
|
||||||
{
|
{
|
||||||
return( POLARSSL_ERR_RSA_BAD_INPUT_DATA );
|
return( POLARSSL_ERR_RSA_BAD_INPUT_DATA );
|
||||||
|
Loading…
Reference in New Issue
Block a user