httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From minf...@apache.org
Subject svn commit: r1752348 - /httpd/httpd/trunk/modules/filters/mod_crypto.c
Date Tue, 12 Jul 2016 21:15:59 GMT
Author: minfrin
Date: Tue Jul 12 21:15:59 2016
New Revision: 1752348

URL: http://svn.apache.org/viewvc?rev=1752348&view=rev
Log:
Ensure the default mode and cipher is set correctly. Remove useless setting
of the size_set flag.

Modified:
    httpd/httpd/trunk/modules/filters/mod_crypto.c

Modified: httpd/httpd/trunk/modules/filters/mod_crypto.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_crypto.c?rev=1752348&r1=1752347&r2=1752348&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/mod_crypto.c (original)
+++ httpd/httpd/trunk/modules/filters/mod_crypto.c Tue Jul 12 21:15:59 2016
@@ -1059,10 +1059,9 @@ static void *create_crypto_dir_config(ap
     crypto_dir_conf *new =
         (crypto_dir_conf *) apr_pcalloc(p, sizeof(crypto_dir_conf));
 
-    new->size_set = 0;          /* unset */
     new->size = DEFAULT_BUFFER_SIZE;    /* default size */
     new->cipher = DEFAULT_CIPHER;
-    new->cipher = DEFAULT_MODE;
+    new->mode = DEFAULT_MODE;
 
     return (void *) new;
 }



Mime
View raw message