src/network/ssl/qsslkey.cpp
changeset 19 fcece45ef507
parent 18 2f34d5167611
--- a/src/network/ssl/qsslkey.cpp	Fri Apr 16 15:50:13 2010 +0300
+++ b/src/network/ssl/qsslkey.cpp	Mon May 03 13:17:34 2010 +0300
@@ -119,9 +119,7 @@
     if (!bio)
         return;
 
-    void *phrase = passPhrase.isEmpty()
-        ? (void *)0
-        : (void *)passPhrase.constData();
+    void *phrase = (void *)passPhrase.constData();
 
     if (algorithm == QSsl::Rsa) {
         RSA *result = (type == QSsl::PublicKey)