Hi all.

I'm trying to read a pkcs8 key.
As in pkcs8.c I do this steps :

....
p8=PEM_read_bio_PKCS8(read_bio, NULL, NULL, NULL)
p8inf=M_PKCS8_decrypt(p8,pwd,strlen(pwd));
....

follows this error:
error C2664: 'PKCS12_decrypt_d2i' : cannot convert parameter 3 from
'void (struct
pkcs8_priv_key_info_st *)' to 'void (__cdecl *)(void)'None of the
functions with this name in
scope match the target type

the problem seems to be PKCS8_PRIV_KEY_INFO_free.
what is the solution?
I use 0.9.4 ver. on VC6++ win98.

thanks in advance, Lucia

--
Lucia Bonelli
Engineering Ingegneria Informatica SpA
Laboratorio Ricerca & Sviluppo
Viale del Castro Pretorio, 116
00185 Roma Italia
Tel. +39 06 44741123


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to