From 88bf25535d38d95e206129261c816fecc87fac14 Mon Sep 17 00:00:00 2001 From: Justin Karneges Date: Wed, 23 Apr 2008 22:50:41 +0000 Subject: [PATCH] don't create qca objects between initializer and qapp construction svn path=/trunk/kdesupport/qca/; revision=800340 --- examples/md5crypt/md5crypt.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/md5crypt/md5crypt.cpp b/examples/md5crypt/md5crypt.cpp index 05b397ae..52dd5857 100644 --- a/examples/md5crypt/md5crypt.cpp +++ b/examples/md5crypt/md5crypt.cpp @@ -186,10 +186,10 @@ int main(int argc, char **argv) // also does cleanup when it goes out of scope QCA::Initializer init; - QCA::SecureArray password, salt; - QCoreApplication app ( argc, argv ); + QCA::SecureArray password, salt; + if ( argc < 3 ) { printf ( "Usage: %s password salt (salt without $1$)\n" , argv[0] );