1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

Fixed const-correctness issues

This commit is contained in:
Paul Bakker
2013-10-11 09:36:52 +02:00
parent ddba8822d0
commit fcc172138c
4 changed files with 4 additions and 3 deletions

View File

@ -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 )