This commit is contained in:
@@ -57,7 +57,7 @@ class CryptokiEngine: public QObject, public openssl::Engine {
|
||||
}
|
||||
|
||||
virtual RSA* setupRsa(RSA* r) {
|
||||
RSA_free(r);
|
||||
RSA_free(r); //→ occasional crashes?
|
||||
r = RSA_new_method(_e);
|
||||
r->n = BN_bin2bn((const unsigned char*)_modulus.data(),
|
||||
_modulus.size(), r->n);
|
||||
|
Reference in New Issue
Block a user