-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,
 
here once again my question, this time with a testapplication and testdata.
Does someone know, why I can't read the key with openssl 0.9.8x, but with 
0.9.7g there is no problem?
 
Thanks a lot,
Thomas Hellstern
 
 
Files:
ReadKey.cpp: Source of my testapplication
key.bin: Binary saved private key
 
 


________________________________

        Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von 
Hellstern, Thomas (LfSt)
        Gesendet: Dienstag, 13. März 2007 13:39
        An: openssl-users@openssl.org
        Betreff: Import private key with d2i_AutoPrivateKey
        
        

        Hi, 

        I have to exchange keys between applications and so long (with 
openssl-0.9.7g) it worked fine to import the extern private keys into openssl 
with d2i_AutoPrivateKey.

        Now we wanted to update openssl to a newer version (0.9.8d - I tried 
also 0.9.8e) and it doesn't work. I get the following message:

             [exec] d2i_AutoPrivateKey returned a key at 0x00000000 
             [exec]      ERR_get_error()=218783872 (0x0d0a6080) 
             [exec]      ERR_lib_error_string(rc)=asn1 encoding routines 
             [exec]      ERR_func_error_string(rc)=LONG_C2I 
             [exec]      ERR_reason_error_string(rc)=integer too large for long 

        If helpful I can send the used input data. 

        Thanks a lot, 
        Thomas Hellstern 


-----BEGIN PGP SIGNATURE-----
Version: 9.5.3 (Build 5003)

wsBVAwUBRgD4T6TlPALTHpGCAQhgSAgAkRLc7L1KmsptgWzMFfaoJrLmSpkewJ9E
VeYLJ2d4xmEKQLs5RHzK92cahNN61ASBo7ez9FdlXfjJDnKrrCVNrbY9zsbDbJwA
bB+gifTe1PdPrWasY1X1/yEKsB4UnQivOa6OjYfVP7jUIYpBh3kOLXxzqVf+gT84
2w9AO4X6sj86jliXmbpBiiPb58jtOCcCQytHE25zbzdWVMjysAHPaz9XEZVUF2oW
oCDzpsS8BrYMVC2EaMn72EvlSxHpX6N5GdGq0uHE61OCLLYPZBkx2Y52LsffZDvc
8nyerT6pQw4CHHTsA+RED32E+lSOULPGfQX7MUtpzI6127NuqnP+0A==
=UEYD
-----END PGP SIGNATURE-----

Attachment: ReadKey.cpp
Description: ReadKey.cpp

Attachment: key.bin
Description: key.bin

Attachment: ReadKey.cpp.sig
Description: Binary data

Attachment: key.bin.sig
Description: Binary data

Attachment: PGPexch.htm.pgp
Description: PGPexch.htm.pgp

Reply via email to