Re: Problem calling PKCS12_gen_mac() twice

2002-09-11 Thread Stefan Richter
the problem with that MAC verification? What can I do to avoid this problem? Or maybe anyone have any other idea to multiple read private keys from .p12 files? Thanks in advance for any replies! Yours friendly, Stefan Richter -- int CKeyStore::PKCS12Read(char *p12file, char *password, char *op

Problem calling PKCS12_gen_mac() twice

2002-09-11 Thread Stefan Richter
lling PKCS12_verify_mac(). Thanks in advance for any replies! Yours friendly, Stefan Richter -- The function for extracting the private key: long ExtractPrivateKeyFromPkcs12(char *lpszPkcs12In, char *mpass, char **lppszPrivateKeyOut, int *lpPrivateKeyOutLen) { long status = 0; BIO *in = NULL; P