diff options
author | Rob Crittenden <rcritten@redhat.com> | 2015-10-01 12:07:04 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2015-10-02 16:51:56 -0400 |
commit | 555dac5e98ac73496fc5cf9a147489a0479f2bfd (patch) | |
tree | 7044e5d48293537b45e064120e61ddc3c3fe500d /nss_engine_cipher.c | |
parent | 979a74f6ce2e61fb607414d9ce5f39226630bab2 (diff) | |
download | mod_nss-555dac5e98ac73496fc5cf9a147489a0479f2bfd.tar.gz mod_nss-555dac5e98ac73496fc5cf9a147489a0479f2bfd.tar.xz mod_nss-555dac5e98ac73496fc5cf9a147489a0479f2bfd.zip |
Fix some compiler warnings (and one real bug)
Most of these are unused variable. There is one adding an extra
set of parens.
The bug is using the wrong index variable, i instead of j.
Diffstat (limited to 'nss_engine_cipher.c')
-rw-r--r-- | nss_engine_cipher.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nss_engine_cipher.c b/nss_engine_cipher.c index 258150a..5ea1f53 100644 --- a/nss_engine_cipher.c +++ b/nss_engine_cipher.c @@ -233,7 +233,6 @@ static int parse_openssl_ciphers(server_rec *s, char *ciphers, PRBool cipher_lis * So we need to disable all the NULL ciphers too. */ int mask = SSL_aNULL | SSL_eNULL; - PRBool enabled; found = PR_TRUE; for (i=0; i < ciphernum; i++) { if (cipher_list[i] != -1) |