summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-05-02 21:36:58 +0000
committerBen Laurie <ben@openssl.org>1999-05-02 21:36:58 +0000
commit0b3f827cf5a44937fa6c8797d8c25337350fb599 (patch)
treefa696e0a0f11743c4ccb573fbeaad9c761cfa20a /apps
parent8051996a5be1add0a935e1c60fe16c05f7b63b95 (diff)
Yet another stack.
Diffstat (limited to 'apps')
-rw-r--r--apps/ca.c3
-rw-r--r--apps/pkcs12.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/apps/ca.c b/apps/ca.c
index 2fe6300216..efcd817311 100644
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -1721,7 +1721,8 @@ again2:
/* Free the current entries if any, there should not
* be any I belive */
if (ci->extensions != NULL)
- sk_pop_free(ci->extensions,X509_EXTENSION_free);
+ sk_X509_EXTENSION_pop_free(ci->extensions,
+ X509_EXTENSION_free);
ci->extensions = NULL;
diff --git a/apps/pkcs12.c b/apps/pkcs12.c
index 89ee3a7b79..b056b84172 100644
--- a/apps/pkcs12.c
+++ b/apps/pkcs12.c
@@ -638,8 +638,8 @@ int print_attribs (BIO *out, STACK *attrlst, char *name)
BIO_printf(out, ": ");
} else BIO_printf(out, "%s: ", OBJ_nid2ln(attr_nid));
- if(sk_num(attr->value.set)) {
- av = (ASN1_TYPE *)sk_value(attr->value.set, 0);
+ if(sk_ASN1_TYPE_num(attr->value.set)) {
+ av = sk_ASN1_TYPE_value(attr->value.set, 0);
switch(av->type) {
case V_ASN1_BMPSTRING:
value = uni2asc(av->value.bmpstring->data,