summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt/md5crypt.c
diff options
context:
space:
mode:
authorniklas <>1996-06-03 22:20:37 +0000
committerniklas <>1996-06-03 22:20:37 +0000
commit05d6250b2af2d52e77c8e68380342b511fa1b7fe (patch)
tree769b166918195f8a8591a24f9c7a12503347b329 /src/lib/libc/crypt/md5crypt.c
parent355e931842bac2aed7596a45c184045fe5c2a5eb (diff)
downloadopenbsd-05d6250b2af2d52e77c8e68380342b511fa1b7fe.tar.gz
openbsd-05d6250b2af2d52e77c8e68380342b511fa1b7fe.tar.bz2
openbsd-05d6250b2af2d52e77c8e68380342b511fa1b7fe.zip
Add md[245] routines in libc/md, remove md5 from libc/crypt. Add $OpenBSD$
Diffstat (limited to 'src/lib/libc/crypt/md5crypt.c')
-rw-r--r--src/lib/libc/crypt/md5crypt.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/crypt/md5crypt.c b/src/lib/libc/crypt/md5crypt.c
index 7872c36859..f17a8d374c 100644
--- a/src/lib/libc/crypt/md5crypt.c
+++ b/src/lib/libc/crypt/md5crypt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: md5crypt.c,v 1.1 1996/05/30 02:36:33 deraadt Exp $ */ 1/* $OpenBSD: md5crypt.c,v 1.2 1996/06/03 22:20:37 niklas Exp $ */
2 2
3/* 3/*
4 * ---------------------------------------------------------------------------- 4 * ----------------------------------------------------------------------------
@@ -11,12 +11,12 @@
11 */ 11 */
12 12
13#if defined(LIBC_SCCS) && !defined(lint) 13#if defined(LIBC_SCCS) && !defined(lint)
14static char rcsid[] = "$OpenBSD: md5crypt.c,v 1.1 1996/05/30 02:36:33 deraadt Exp $"; 14static char rcsid[] = "$OpenBSD: md5crypt.c,v 1.2 1996/06/03 22:20:37 niklas Exp $";
15#endif /* LIBC_SCCS and not lint */ 15#endif /* LIBC_SCCS and not lint */
16 16
17#include <unistd.h> 17#include <unistd.h>
18#include <stdio.h> 18#include <stdio.h>
19#include "md5.h" 19#include <md5.h>
20 20
21static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ 21static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */
22 "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; 22 "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";