Hello
I want to decrypt a Privatkey of a PKCS12 File.
The following Function overwrites while the Execution the Values pass and
passlen ( see Output Debbugger)
/* Decrypt data */
if (!EVP_PBE_ALGOR_CipherInit (algor, pass, passlen, &ctx, en_de)) {
PKCS12err(PKCS12_F_PKCS12_PBE_CRYPT,PKCS12_R_PKCS12_ALGOR_CIPHERINIT_ERROR);
return NULL;
}
In Case of this, the Function EVP_CipherFinal failed.
It`s not possible, to debug in this functions, because my Debugger
jumps wild.
What can I do???
Debugger - Output:
Breakpoint 4, PKCS12_decrypt_d2i (algor=0x412c0, d2i=0xef064be0
<d2i_PKCS12_SAFEBAG>, free_func=0xef065360 <PKCS12_SAFEBAG_free>,
pass=0xef4bd268 "p12_test", passlen=-1, oct=0x5e710, seq=3) at p12_decr.c:85
Current language: auto; currently c
(xxgdb) print pass
$6 = 0xef4bd268 "p12_test"
(xxgdb) next
(xxgdb) print pass
$7 = 0xefffd7a0 "�\f\b\024"
I hope for your help
Michael
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]