From cab27442cea67e4506fa1ce4ed35ee61e2e0426f Mon Sep 17 00:00:00 2001 From: Christian Date: Wed, 23 May 2007 23:24:31 +0200 Subject: [PATCH] whitespace correction --- lib/func.cpp | 2 +- lib/pki_key.cpp | 2 +- widgets/ImportMulti.cpp | 2 +- widgets/hashBox.cpp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/func.cpp b/lib/func.cpp index 07ac6d12..77bed125 100644 --- a/lib/func.cpp +++ b/lib/func.cpp @@ -48,7 +48,7 @@ QString getPrefix() /* if we already once discovered the directory just return it */ return QString(inst_dir); } - // fallback: directory of xca.exe + // fallback: directory of xca.exe GetModuleFileName(0, inst_dir, dwLength - 1); p = strrchr(inst_dir, '\\'); if (p) { diff --git a/lib/pki_key.cpp b/lib/pki_key.cpp index d3f8e60d..06116d3a 100644 --- a/lib/pki_key.cpp +++ b/lib/pki_key.cpp @@ -559,7 +559,7 @@ void pki_key::writeKey(const QString fname, const EVP_CIPHER *enc, PEM_write_PrivateKey(fp, pkey, enc, NULL, 0, cb, &p); } else { i2d_PrivateKey_fp(fp, pkey); - } + } EVP_PKEY_free(pkey); } openssl_error(); diff --git a/widgets/ImportMulti.cpp b/widgets/ImportMulti.cpp index 69715485..9358f424 100644 --- a/widgets/ImportMulti.cpp +++ b/widgets/ImportMulti.cpp @@ -116,7 +116,7 @@ void ImportMulti::import(QModelIndex &idx) if (!mainwin->keys) { mainwin->load_database(); } - + QString cn = pki->getClassName(); mcont->remFromCont(idx); if (!mainwin->keys) { diff --git a/widgets/hashBox.cpp b/widgets/hashBox.cpp index 9c9753f1..cb4fa3a4 100644 --- a/widgets/hashBox.cpp +++ b/widgets/hashBox.cpp @@ -53,7 +53,7 @@ void hashBox::setDsa(bool new_dsa) setDisabled(false); } } - + const EVP_MD *hashBox::currentHash() { if (dsa)