commit | fcc172138cdae5b454cf478c198aae80530dc4d7 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Fri Oct 11 09:36:52 2013 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Fri Oct 11 09:38:06 2013 +0200 |
tree | d42c7b8c9d75cbdff35378a887ac40ace1dc5ce6 | |
parent | ddba8822d0fb6536454df95c9ae8b64f39f9aec7 [diff] [blame] |
Fixed const-correctness issues
diff --git a/library/pkwrite.c b/library/pkwrite.c index a3e9c57..fcebd48 100644 --- a/library/pkwrite.c +++ b/library/pkwrite.c
@@ -312,7 +312,7 @@ { 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 )