summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt/crypt.c
diff options
context:
space:
mode:
authorderaadt <>1997-09-10 23:15:43 +0000
committerderaadt <>1997-09-10 23:15:43 +0000
commit29ad9bb3ca5e52546607800b37a97d2b1ce8099c (patch)
tree5fb60abfab6910a13b4be5cd76c76f41fbf2d932 /src/lib/libc/crypt/crypt.c
parent4481b74b5b79e4df97de9c70538600c44ad30874 (diff)
downloadopenbsd-29ad9bb3ca5e52546607800b37a97d2b1ce8099c.tar.gz
openbsd-29ad9bb3ca5e52546607800b37a97d2b1ce8099c.tar.bz2
openbsd-29ad9bb3ca5e52546607800b37a97d2b1ce8099c.zip
indentation cleanup
Diffstat (limited to 'src/lib/libc/crypt/crypt.c')
-rw-r--r--src/lib/libc/crypt/crypt.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/libc/crypt/crypt.c b/src/lib/libc/crypt/crypt.c
index a3a1338023..3dce745d5d 100644
--- a/src/lib/libc/crypt/crypt.c
+++ b/src/lib/libc/crypt/crypt.c
@@ -50,7 +50,7 @@
50 */ 50 */
51 51
52#if defined(LIBC_SCCS) && !defined(lint) 52#if defined(LIBC_SCCS) && !defined(lint)
53static char rcsid[] = "$OpenBSD: crypt.c,v 1.11 1997/07/09 01:08:14 millert Exp $"; 53static char rcsid[] = "$OpenBSD: crypt.c,v 1.12 1997/09/10 23:15:43 deraadt Exp $";
54#endif /* LIBC_SCCS and not lint */ 54#endif /* LIBC_SCCS and not lint */
55 55
56#include <sys/types.h> 56#include <sys/types.h>
@@ -595,13 +595,14 @@ crypt(key, setting)
595 extern char *md5crypt __P((const char *, const char *)); 595 extern char *md5crypt __P((const char *, const char *));
596 extern char *bcrypt __P((const char *, const char *)); 596 extern char *bcrypt __P((const char *, const char *));
597 597
598 if( setting[0] == '$' ) 598 if (setting[0] == '$') {
599 switch(setting[1]) { 599 switch (setting[1]) {
600 case '1': 600 case '1':
601 return (md5crypt(key, setting)); 601 return (md5crypt(key, setting));
602 default: 602 default:
603 return bcrypt(key, setting); 603 return bcrypt(key, setting);
604 } 604 }
605 }
605 606
606 if (!des_initialised) 607 if (!des_initialised)
607 des_init(); 608 des_init();