From 696fab562ce0ee31344bcccc85cea3e4eb15bf18 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Thu, 27 Aug 2015 13:06:21 -0400 Subject: Add cast to suppress compiler warning --- nss_engine_pphrase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nss_engine_pphrase.c') 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(); -- cgit