diff options
author | FdaSilvaYY <fdasilvayy@gmail.com> | 2016-06-08 00:05:05 +0200 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-06-15 13:22:38 -0400 |
commit | 82643254d6d85e7875dbba0df85cea8751b1c3a0 (patch) | |
tree | 5cf9b077f9f45e8e64e814116dc9c04ba3140c1c /apps/x509.c | |
parent | bd227450d45317f82ae908f56e0fd833a50ee066 (diff) | |
download | openssl-82643254d6d85e7875dbba0df85cea8751b1c3a0.tar.gz |
Constify X509_TRUST_add method.
Reviewed-by: Kurt Roeckx <kurt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1215)
Diffstat (limited to 'apps/x509.c')
-rw-r--r-- | apps/x509.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/x509.c b/apps/x509.c index 64197665d0..0753817257 100644 --- a/apps/x509.c +++ b/apps/x509.c @@ -1088,7 +1088,7 @@ static int sign(X509 *x, EVP_PKEY *pkey, int days, int clrext, static int purpose_print(BIO *bio, X509 *cert, X509_PURPOSE *pt) { int id, i, idret; - char *pname; + const char *pname; id = X509_PURPOSE_get_id(pt); pname = X509_PURPOSE_get0_name(pt); for (i = 0; i < 2; i++) { |