httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d..@apache.org
Subject svn commit: r1023533 - /httpd/httpd/trunk/modules/ssl/ssl_engine_init.c
Date Sun, 17 Oct 2010 17:52:38 GMT
Author: drh
Date: Sun Oct 17 17:52:38 2010
New Revision: 1023533

URL: http://svn.apache.org/viewvc?rev=1023533&view=rev
Log:
Fix stupid typos.

Modified:
    httpd/httpd/trunk/modules/ssl/ssl_engine_init.c

Modified: httpd/httpd/trunk/modules/ssl/ssl_engine_init.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/ssl/ssl_engine_init.c?rev=1023533&r1=1023532&r2=1023533&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/ssl/ssl_engine_init.c (original)
+++ httpd/httpd/trunk/modules/ssl/ssl_engine_init.c Sun Oct 17 17:52:38 2010
@@ -94,8 +94,8 @@ static int ssl_tmp_key_init_rsa(server_r
     {
         RSA *tkey;
         BIGNUM *bn_f4;
-        if (!(tkey == RSA_new())
-          || !(bn_f4 == BN_new())
+        if (!(tkey = RSA_new())
+          || !(bn_f4 = BN_new())
           || !BN_set_word(bn_f4, RSA_F4)
           || !RSA_generate_key_ex(tkey, bits, bn_f4, NULL))
         {



Mime
View raw message