src/network/ssl/qsslkey.cpp
branchRCL_3
changeset 8 3f74d0d4af4c
parent 4 3b1da2848fc7
--- a/src/network/ssl/qsslkey.cpp	Mon Mar 15 12:43:09 2010 +0200
+++ b/src/network/ssl/qsslkey.cpp	Thu Apr 08 14:19:33 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)