aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2000-01-07 00:55:54 +0000
committerDr. Stephen Henson <steve@openssl.org>2000-01-07 00:55:54 +0000
commit35f4850ae06b6056dd58cd072d0030b35c4541ad (patch)
treee4334c4b27ab67299002357ebc5c59f4e773c653 /apps
parentadd9e2544a78b5e3f854c59b2bd08b65f9dfa958 (diff)
downloadopenssl-35f4850ae06b6056dd58cd072d0030b35c4541ad.tar.gz
More X509_ATTRIBUTE changes.
Diffstat (limited to 'apps')
-rw-r--r--apps/x509.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/x509.c b/apps/x509.c
index 04cae31481..62982e4227 100644
--- a/apps/x509.c
+++ b/apps/x509.c
@@ -557,7 +557,7 @@ bad:
}
}
- if(alias) X509_alias_set(x, (unsigned char *)alias, -1);
+ if(alias) X509_alias_rset(x, (unsigned char *)alias, -1);
if(clrtrust) X509_trust_clear(x);
if(clrreject) X509_reject_clear(x);
@@ -601,7 +601,7 @@ bad:
else if (aliasout == i)
{
unsigned char *alstr;
- alstr = X509_alias_get(x, NULL);
+ alstr = X509_alias_iget(x, NULL);
if(alstr) BIO_printf(STDout,"%s\n", alstr);
else BIO_puts(STDout,"<No Alias>\n");
}