Another stack.

This commit is contained in:
Ben Laurie
1999-05-01 18:29:59 +00:00
parent d500de1672
commit d35ea5b00b
8 changed files with 58 additions and 51 deletions

View File

@@ -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 */