summaryrefslogtreecommitdiffstats
path: root/nss_engine_pphrase.c
diff options
context:
space:
mode:
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();