mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 18:45:43 +01: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 New Issue
Block a user