]> granicus.if.org Git - apache/commitdiff
Fix stupid typos.
authorStephen Henson <drh@apache.org>
Sun, 17 Oct 2010 17:52:38 +0000 (17:52 +0000)
committerStephen Henson <drh@apache.org>
Sun, 17 Oct 2010 17:52:38 +0000 (17:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1023533 13f79535-47bb-0310-9956-ffa450edef68

modules/ssl/ssl_engine_init.c

index 1bffc1ae666f4d9c2d65946a46dd159179850749..6c4b791419437bc4db7cc59d5ffef7cc970b8ee6 100644 (file)
@@ -94,8 +94,8 @@ static int ssl_tmp_key_init_rsa(server_rec *s,
     {
         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))
         {