aboutsummaryrefslogtreecommitdiff
path: root/src/Authorisation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Authorisation.c')
-rw-r--r--src/Authorisation.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Authorisation.c b/src/Authorisation.c
index 571118e..42529be 100644
--- a/src/Authorisation.c
+++ b/src/Authorisation.c
@@ -342,12 +342,13 @@ static int VerifyPassword(const char *database,
retcode = 1;
}
#else
- fprintf(stderr, "Sorry, crypt(3) not supported in this configuration.\n");
+ CCTK_WARN( 1, "Sorry, crypt(3) not supported in this configuration.\n" )
#endif
}
else
{
- fprintf(stderr, "Unknown encryption algorithm '%s'\n", data->encryption_scheme);
+ CCTK_WARN( 1, "Unknown encryption algorithm: " );
+ CCTK_WARN( 1, data->encryption_scheme );
}
}
}