aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/pkcs7/dec.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>1999-05-16 00:25:36 +0000
committerDr. Stephen Henson <steve@openssl.org>1999-05-16 00:25:36 +0000
commit84fa704c6f96eb22e827caadf337a590dce30adb (patch)
tree3dab829e81ff772261d98bfd4adea6c3fc290462 /crypto/pkcs7/dec.c
parenta74c55cd8f73b4ff4480a1ab425ac2d6d8df5039 (diff)
downloadopenssl-84fa704c6f96eb22e827caadf337a590dce30adb.tar.gz
Fix some obvious bugs in the PKCS#7 library handling. It didn't try to
find the right RecipientInfo based on the recipient certificate (so would fail a lot of the time) and fixup cipher structures to correctly (maybe) modify the AlgorithmIdentifiers. Largely untested at present... this will be fixed in due course. Well the stuff was broken to begin with so if its broken now then you haven't lost anything :-)
Diffstat (limited to 'crypto/pkcs7/dec.c')
-rw-r--r--crypto/pkcs7/dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/pkcs7/dec.c b/crypto/pkcs7/dec.c
index c485d39d1d..7063037bb1 100644
--- a/crypto/pkcs7/dec.c
+++ b/crypto/pkcs7/dec.c
@@ -144,7 +144,7 @@ again:
/* We need to process the data */
/* We cannot support detached encryption */
- p7bio=PKCS7_dataDecode(p7,pkey,detached,cert_store);
+ p7bio=PKCS7_dataDecode(p7,pkey,detached,x509);
if (p7bio == NULL)
{