summaryrefslogtreecommitdiffstats
path: root/apps/passwd.c
diff options
context:
space:
mode:
authorFdaSilvaYY <fdasilvayy@gmail.com>2016-05-19 08:39:47 +0200
committerRich Salz <rsalz@openssl.org>2016-07-20 01:35:38 -0400
commitedbff8da9b95d22dba22475bcf69ccf1ed15cab7 (patch)
tree81d28e0b43009b6f6ef91b95d6d432f9e4957666 /apps/passwd.c
parentf6c460e8f69e90fdb87129bb70951ced89c7906f (diff)
Code factorisation and simplification
Fix some code indentation Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1284)
Diffstat (limited to 'apps/passwd.c')
-rw-r--r--apps/passwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/passwd.c b/apps/passwd.c
index 3ae8f96471..31c4eef55a 100644
--- a/apps/passwd.c
+++ b/apps/passwd.c
@@ -302,7 +302,7 @@ static char *md5crypt(const char *passwd, const char *magic, const char *salt)
OPENSSL_strlcat(out_buf, "$", sizeof out_buf);
OPENSSL_strlcat(out_buf, salt, sizeof out_buf);
- if (strlen(out_buf) > 6 + 8); /* assert "$apr1$..salt.." */
+ if (strlen(out_buf) > 6 + 8) /* assert "$apr1$..salt.." */
return NULL;
salt_out = out_buf + 2 + magic_len;