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>
This commit is contained in:
David Benjamin 2015-07-04 14:35:54 -04:00 committed by Adam Langley
parent 42ae3adcf6
commit a31c5bf2cc

View File

@ -89,7 +89,7 @@ struct evp_pkey_asn1_method_st {
int pkey_base_id; int pkey_base_id;
unsigned long pkey_flags; unsigned long pkey_flags;
char *pem_str; const char *pem_str;
int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub); int (*pub_decode)(EVP_PKEY *pk, X509_PUBKEY *pub);
int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk); int (*pub_encode)(X509_PUBKEY *pub, const EVP_PKEY *pk);