summaryrefslogtreecommitdiffstats
path: root/apps/passwd.c
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2000-02-16 12:09:17 +0000
committerBen Laurie <ben@openssl.org>2000-02-16 12:09:17 +0000
commitbd44570322940cf1d1e01ad27c9e1949806a06cd (patch)
tree66a398cee6044bacb5e87c4e5792f8fd7983de23 /apps/passwd.c
parente1c55191cbd1e21bbf4d95d2e51670158b64f9cd (diff)
Fix signed/unsigned warnings.
Diffstat (limited to 'apps/passwd.c')
-rw-r--r--apps/passwd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/passwd.c b/apps/passwd.c
index 06155979f4..0e5682d1d6 100644
--- a/apps/passwd.c
+++ b/apps/passwd.c
@@ -346,7 +346,9 @@ static char *apr1_crypt(const char *passwd, const char *salt)
buf_perm[dest] = buf[source];
buf_perm[14] = buf[5];
buf_perm[15] = buf[11];
+#ifndef PEDANTIC /* Unfortunately, this generates a "no effect" warning */
assert(16 == sizeof buf_perm);
+#endif
output = salt_out + salt_len;
assert(output == out_buf + strlen(out_buf));