X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=apps%2Fx509.c;h=0753817257cc7e40430abc0e2d6f33843f309ff9;hp=64197665d0eac9c597a4d1ef1ae80e75910c0fb7;hb=82643254d6d85e7875dbba0df85cea8751b1c3a0;hpb=bd227450d45317f82ae908f56e0fd833a50ee066 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++) {