Gunther Schadow wrote:
>
> Steve,
>
> 1. I have generated PKCS#10 with xenroll,
> 2. I have generated a PKCS#7 chain
> 3. I have send the PKCS#7 chain back as base64
> 4. I called acceptPKCS7 on it
> and that fails with Error Number -2146881532
>
Hmm... lets see thats in hex 0x80093004 ... digs out MS include
files.... erk its in asn1code.h. <Does magic incantation over keyboard
and utters words know only to adepts>
// OSS ASN.1 Error: Output buffer is too small, the decoded data has
been
truncated.
//
#define OSS_MORE_INPUT _HRESULT_TYPEDEF_(0x80093004L)
Hmmm. Seems probably doesn't like your input. Older Xenroll's were very
picky you might want to swipe Xenroll from the IE5 distribution and use
that.
Alternatively try doing something like zapping all the EOLs and sending
the whole base64 encoded stuff to acceptPKCS7 on a single line.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]