commit | fdb88ba2e9ae9e4ebc8c2053ae53160e048efa57 | [log] [tgz] |
---|---|---|
author | Piotr Sikora <piotrsikora@google.com> | Wed Mar 23 18:34:10 2016 -0700 |
committer | David Benjamin <davidben@google.com> | Thu Mar 24 03:11:20 2016 +0000 |
tree | dd59ef9134615a396d16e19ae77f656074c3fd32 | |
parent | 897be6afe34d1c5839e5bba8f2c67d56485d6a5d [diff] |
Fix build with -Wwrite-strings. Change-Id: If76154c8d255600e925a408acdc674fc7dad0359 Signed-off-by: Piotr Sikora <piotrsikora@google.com> Reviewed-on: https://boringssl-review.googlesource.com/7526 Reviewed-by: David Benjamin <davidben@google.com>
diff --git a/crypto/evp/print.c b/crypto/evp/print.c index 6c01a92..b637c70 100644 --- a/crypto/evp/print.c +++ b/crypto/evp/print.c
@@ -136,8 +136,7 @@ static int do_rsa_print(BIO *out, const RSA *rsa, int off, int include_private) { - char *str; - const char *s; + const char *s, *str; uint8_t *m = NULL; int ret = 0, mod_len = 0; size_t buf_len = 0;