summaryrefslogtreecommitdiffstats
path: root/pica-client/openssltool.cpp
diff options
context:
space:
mode:
authorme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2014-08-30 23:29:53 +0000
committerAnton <anton@picapica>2014-08-31 03:36:20 +0400
commitddb55736240c67ddc28ee7becb78c8a77f54a6d1 (patch)
treee61d5b0881f9b12c2b4a772580bf70dfa2644ec7 /pica-client/openssltool.cpp
parentd1e98f6c59e5ef991e556a01df02fe4182834c3b (diff)
downloadpica-pica-ddb55736240c67ddc28ee7becb78c8a77f54a6d1.tar.gz
pica-pica-ddb55736240c67ddc28ee7becb78c8a77f54a6d1.zip
changed private key encryption cipher from -idea to -aes256 because openssl on ubuntu is compiled without idea
git-svn-id: svn://localhost/project_picapica/trunk@333 fb96df88-216d-11de-830c-f3023f12d8ac
Diffstat (limited to 'pica-client/openssltool.cpp')
-rw-r--r--pica-client/openssltool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pica-client/openssltool.cpp b/pica-client/openssltool.cpp
index 4711713..94352a3 100644
--- a/pica-client/openssltool.cpp
+++ b/pica-client/openssltool.cpp
@@ -99,7 +99,7 @@ bool OpenSSLTool::GenRSAKeySignal(quint32 numbits, QString keyfile, bool setpass
args <<"genrsa"<<"-out"<<keyfile;
if (setpassword)
- args <<"-passout"<<"stdin"<<"-idea";
+ args <<"-passout"<<"stdin"<<"-aes256";
if (!rand.isEmpty())
args << "-rand"<<rand;