]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Ensure the default mode and cipher is set correctly. Remove useless setting
authorGraham Leggett <minfrin@apache.org>
Tue, 12 Jul 2016 21:15:59 +0000 (21:15 +0000)
committerGraham Leggett <minfrin@apache.org>
Tue, 12 Jul 2016 21:15:59 +0000 (21:15 +0000)
of the size_set flag.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1752348 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/mod_crypto.c

index 5ae3f066ced28c8203dad9003ad6427c4f586604..eeef07ff6d249532ca94748d166a29eb98ef92f2 100644 (file)
@@ -1059,10 +1059,9 @@ static void *create_crypto_dir_config(apr_pool_t * p, char *dummy)
     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;
 }