You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by dr...@apache.org on 2010/10/17 19:52:38 UTC
svn commit: r1023533 - /httpd/httpd/trunk/modules/ssl/ssl_engine_init.c
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))
{