Formatting and consistency fixes

This commit is contained in:
Jonathan White 2017-12-20 09:57:17 -05:00
parent 4592de8fb6
commit 61c4fe8992
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
6 changed files with 29 additions and 43 deletions

View file

@ -57,7 +57,7 @@ CryptoHash::CryptoHash(Algorithm algo, bool hmac)
}
gcry_error_t error = gcry_md_open(&d->ctx, algoGcrypt, flagsGcrypt);
if (error) {
if (error != GPG_ERR_NO_ERROR) {
qWarning("Gcrypt error (ctor): %s", gcry_strerror(error));
qWarning("Gcrypt error (ctor): %s", gcry_strsource(error));
}