diff options
author | David Benjamin <davidben@chromium.org> | 2015-07-04 21:35:54 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2015-07-07 04:11:58 +0300 |
commit | a31c5bf2cc4e2a740fdf9f6ce44c40df73eef3ed (patch) | |
tree | e04eb6dcebec4a20ce999b91f49726048c72f318 /crypto/evp | |
parent | 42ae3adcf697541b2dac780624afa50c8d1ed65c (diff) |
Make pem_str const-correct.
They're always constant literals.
Change-Id: I8acaaf2a8c95b02bc8b9b13740ce40044a483394
Reviewed-on: https://boringssl-review.googlesource.com/5346
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/evp')
-rw-r--r-- | crypto/evp/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/internal.h b/crypto/evp/internal.h index 72b46f8a..8b755d0e 100644 --- a/crypto/evp/internal.h +++ b/crypto/evp/internal.h @@ -89,7 +89,7 @@ struct evp_pkey_asn1_method_st { int pkey_base_id; unsigned long pkey_flags; - char *pem_str; + const char *pem_str; int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub); int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk); |