done fist implementation of ErrorLog, refs #48; added AdjustToMinimumContentsLength, closes #52

This commit is contained in:
Marc Wäckerlin
2011-05-26 06:31:19 +00:00
parent 7e6cdea4f2
commit 4670288d51
10 changed files with 548 additions and 336 deletions

View File

@@ -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);