summaryrefslogtreecommitdiff
path: root/openbsd-compat/xcrypt.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2016-08-02 10:01:52 +1000
committerDarren Tucker <dtucker@zip.com.au>2016-08-02 10:01:52 +1000
commitdd1031b78b83083615b68d7163c44f4408635be2 (patch)
tree623e682acf27a2abf422a27325e5bbad7c5be4b0 /openbsd-compat/xcrypt.c
parentc20dccb5614c5714f4155dda01bcdebf97cfae7e (diff)
Replace spaces with tabs.
Mechanically replace spaces with tabs in compat files not synced with OpenBSD.
Diffstat (limited to 'openbsd-compat/xcrypt.c')
-rw-r--r--openbsd-compat/xcrypt.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/openbsd-compat/xcrypt.c b/openbsd-compat/xcrypt.c
index 532154f7..c9c6283c 100644
--- a/openbsd-compat/xcrypt.c
+++ b/openbsd-compat/xcrypt.c
@@ -108,19 +108,19 @@ xcrypt(const char *password, const char *salt)
salt = pick_salt();
# ifdef HAVE_MD5_PASSWORDS
- if (is_md5_salt(salt))
- crypted = md5_crypt(password, salt);
- else
- crypted = crypt(password, salt);
+ if (is_md5_salt(salt))
+ crypted = md5_crypt(password, salt);
+ else
+ crypted = crypt(password, salt);
# elif defined(__hpux) && !defined(HAVE_SECUREWARE)
if (iscomsec())
- crypted = bigcrypt(password, salt);
- else
- crypted = crypt(password, salt);
+ crypted = bigcrypt(password, salt);
+ else
+ crypted = crypt(password, salt);
# elif defined(HAVE_SECUREWARE)
- crypted = bigcrypt(password, salt);
+ crypted = bigcrypt(password, salt);
# else
- crypted = crypt(password, salt);
+ crypted = crypt(password, salt);
# endif
return crypted;