mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Fixed const-correctness issues
This commit is contained in:
parent
ddba8822d0
commit
fcc172138c
4 changed files with 4 additions and 3 deletions
|
|
@ -312,7 +312,7 @@ int pk_write_key_pem( pk_context *key, unsigned char *buf, size_t size )
|
|||
{
|
||||
int ret;
|
||||
unsigned char output_buf[4096];
|
||||
char *begin, *end;
|
||||
const char *begin, *end;
|
||||
size_t olen = 0;
|
||||
|
||||
if( ( ret = pk_write_key_der( key, output_buf, sizeof(output_buf) ) ) < 0 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue