summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-05-01 18:29:59 +0000
committerBen Laurie <ben@openssl.org>1999-05-01 18:29:59 +0000
commitd35ea5b00b32eb30eaaffd3c5e504d6c003c17dc (patch)
treeb88a7b2510ac63d5c5fd733e5595a3347271402e /apps
parentd500de16725216503786dba48db519d3031614e7 (diff)
Another stack.
Diffstat (limited to 'apps')
-rw-r--r--apps/req.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/req.c b/apps/req.c
index c3f6a1a0ca..7459f7b7da 100644
--- a/apps/req.c
+++ b/apps/req.c
@@ -1069,7 +1069,7 @@ start:
/* add object plus value */
if ((xa=X509_ATTRIBUTE_new()) == NULL)
goto err;
- if ((xa->value.set=sk_new_null()) == NULL)
+ if ((xa->value.set=sk_ASN1_TYPE_new_null()) == NULL)
goto err;
xa->set=1;
@@ -1095,7 +1095,7 @@ start:
{ BIO_printf(bio_err,"Malloc failure\n"); goto err; }
ASN1_TYPE_set(at,bs->type,(char *)bs);
- sk_push(xa->value.set,(char *)at);
+ sk_ASN1_TYPE_push(xa->value.set,at);
bs=NULL;
at=NULL;
/* only one item per attribute */