We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5cd2546 + cc5f1f7 commit 47178a7Copy full SHA for 47178a7
src/Pkcs12Builder.cpp
@@ -46,6 +46,9 @@ Pkcs12* Pkcs12Builder::doFinal(string password) const throw(Pkcs12Exception)
46
int mac_iter = 0;
47
int keytype = 0;
48
49
+ //this method must be executed before PKCS12_create() or else it always returns null, temporary fix
50
+ OpenSSL_add_all_algorithms();
51
+
52
//verifica se chave privada corresponde a chave publica
53
if(!X509_check_private_key(this->keyCert->getX509(), this->key->getEvpPkey()))
54
{
0 commit comments