summaryrefslogtreecommitdiffstats
path: root/nss_engine_pphrase.c
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2015-08-27 13:06:21 -0400
committerRob Crittenden <rcritten@redhat.com>2015-08-27 13:06:21 -0400
commit696fab562ce0ee31344bcccc85cea3e4eb15bf18 (patch)
tree106e71a55a3e0389d244cd2c114f741695544e53 /nss_engine_pphrase.c
parentc655273a03600de537e734c8ba88bd70afd33d35 (diff)
downloadmod_nss-696fab562ce0ee31344bcccc85cea3e4eb15bf18.tar.gz
mod_nss-696fab562ce0ee31344bcccc85cea3e4eb15bf18.tar.xz
mod_nss-696fab562ce0ee31344bcccc85cea3e4eb15bf18.zip
Add cast to suppress compiler warning
Diffstat (limited to 'nss_engine_pphrase.c')
-rw-r--r--nss_engine_pphrase.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss_engine_pphrase.c b/nss_engine_pphrase.c
index a27de6f..b747076 100644
--- a/nss_engine_pphrase.c
+++ b/nss_engine_pphrase.c
@@ -352,7 +352,7 @@ static char *nss_get_password(FILE *input, FILE *output,
fprintf(output, "non-alphabetic characters\n");
continue;
}
- if (PK11_IsFIPS() && strlen(phrase) == 0) {
+ if (PK11_IsFIPS() && strlen((char *)phrase) == 0) {
ap_log_error(APLOG_MARK, APLOG_ERR, 0, NULL,
"The FIPS security policy requires that a password be set.");
nss_die();