don't create qca objects between initializer and qapp construction

svn path=/trunk/kdesupport/qca/; revision=800340
This commit is contained in:
Justin Karneges 2008-04-23 22:50:41 +00:00
parent 0222c7c85d
commit 88bf25535d

View File

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