mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-12-23 12:55:30 +00:00
Fix constness issue in pkcs5_pbes2()
This commit is contained in:
parent
0db107e4ba
commit
8d92cedd11
|
@ -63,7 +63,7 @@ extern "C" {
|
|||
*
|
||||
* \returns 0 on success, or a POLARSSL_ERR_xxx code if verification fails.
|
||||
*/
|
||||
int pkcs5_pbes2( asn1_buf *pbe_params, int mode,
|
||||
int pkcs5_pbes2( const asn1_buf *pbe_params, int mode,
|
||||
const unsigned char *pwd, size_t pwdlen,
|
||||
const unsigned char *data, size_t datalen,
|
||||
unsigned char *output );
|
||||
|
|
|
@ -109,7 +109,7 @@ static int pkcs5_parse_pbkdf2_params( const asn1_buf *params,
|
|||
return( 0 );
|
||||
}
|
||||
|
||||
int pkcs5_pbes2( asn1_buf *pbe_params, int mode,
|
||||
int pkcs5_pbes2( const asn1_buf *pbe_params, int mode,
|
||||
const unsigned char *pwd, size_t pwdlen,
|
||||
const unsigned char *data, size_t datalen,
|
||||
unsigned char *output )
|
||||
|
|
Loading…
Reference in a new issue