summaryrefslogtreecommitdiff
path: root/lib/libskey
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-07-11 01:32:58 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-07-11 01:32:58 +0000
commitb21ba32ba23bac141a42b06fd5713694a3102aa3 (patch)
tree9c99bbba36829c256fc47a513aca6db8895b6e4b /lib/libskey
parent7b000d5f864f4f2a15b88f223535dbc8a5ee91f6 (diff)
Remove #if 0'd code
Diffstat (limited to 'lib/libskey')
-rw-r--r--lib/libskey/skeysubr.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/libskey/skeysubr.c b/lib/libskey/skeysubr.c
index b93ac0793c3..762a809c136 100644
--- a/lib/libskey/skeysubr.c
+++ b/lib/libskey/skeysubr.c
@@ -10,7 +10,7 @@
*
* S/KEY misc routines.
*
- * $Id: skeysubr.c,v 1.13 1997/07/10 22:53:37 millert Exp $
+ * $Id: skeysubr.c,v 1.14 1997/07/11 01:32:57 millert Exp $
*/
#include <stdio.h>
@@ -173,11 +173,6 @@ keycrunch_sha1(result, seed, passwd)
results[0] ^= results[4];
(void)memcpy((void *)result, (void *)results, SKEY_BINKEY_SIZE);
-#if 0 /* XXX */
-#if BYTE_ORDER == LITTLE_ENDIAN
- sha1ByteReverse((u_int32_t *)result, SKEY_BINKEY_SIZE);
-#endif /* LITTLE_ENDIAN */
-#endif
return 0;
}
@@ -246,11 +241,6 @@ f_sha1(x)
results[0] ^= results[4];
(void)memcpy((void *)x, (void *)results, SKEY_BINKEY_SIZE);
-#if 0 /* XXX */
-#if BYTE_ORDER == LITTLE_ENDIAN
- sha1ByteReverse((u_int32_t *)x, SKEY_BINKEY_SIZE);
-#endif /* LITTLE_ENDIAN */
-#endif
}
/* Strip trailing cr/lf from a line of text */