summaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7/pk7_lib.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>1999-06-02 21:13:45 +0000
committerBen Laurie <ben@openssl.org>1999-06-02 21:13:45 +0000
commit8f0edcd1422e4cf5258f0af7be0d3435f37f8b22 (patch)
tree840245150d8ffe622ec8d5108d4fd157276408b8 /crypto/pkcs7/pk7_lib.c
parenta1195a19f578ef026a17663ce8510f0bf7fd3766 (diff)
stack.
Diffstat (limited to 'crypto/pkcs7/pk7_lib.c')
-rw-r--r--crypto/pkcs7/pk7_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/pkcs7/pk7_lib.c b/crypto/pkcs7/pk7_lib.c
index 89b2e8172a..8b863d0558 100644
--- a/crypto/pkcs7/pk7_lib.c
+++ b/crypto/pkcs7/pk7_lib.c
@@ -371,7 +371,7 @@ err:
int PKCS7_add_recipient_info(PKCS7 *p7, PKCS7_RECIP_INFO *ri)
{
int i;
- STACK *sk;
+ STACK_OF(PKCS7_RECIP_INFO) *sk;
i=OBJ_obj2nid(p7->type);
switch (i)
@@ -387,7 +387,7 @@ int PKCS7_add_recipient_info(PKCS7 *p7, PKCS7_RECIP_INFO *ri)
return(0);
}
- sk_push(sk,(char *)ri);
+ sk_PKCS7_RECIP_INFO_push(sk,ri);
return(1);
}