summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2018-08-27 17:11:33 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2018-08-27 17:11:33 +0000
commitc973aff2bb8c7b4a97266142699e63df422fb1a1 (patch)
treec0ef7ecd8d70e05114175d9c8fa8fcc8c82e6b10 /lib
parent6b860276c2d89f97a9654420f3187dd91245fa29 (diff)
n2s and l2n3 finally bite the dust!
Diffstat (limited to 'lib')
-rw-r--r--lib/libssl/ssl_locl.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h
index 39aabb05fb2..2592d56a613 100644
--- a/lib/libssl/ssl_locl.h
+++ b/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_locl.h,v 1.210 2018/08/27 16:42:48 jsing Exp $ */
+/* $OpenBSD: ssl_locl.h,v 1.211 2018/08/27 17:11:32 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -181,15 +181,9 @@ __BEGIN_HIDDEN_DECLS
*((c)++)=(unsigned char)(((l)>> 8)&0xff), \
*((c)++)=(unsigned char)(((l) )&0xff))
-#define n2s(c,s) ((s=(((unsigned int)(c[0]))<< 8)| \
- (((unsigned int)(c[1])) )),c+=2)
#define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \
c[1]=(unsigned char)(((s) )&0xff)),c+=2)
-#define l2n3(l,c) ((c[0]=(unsigned char)(((l)>>16)&0xff), \
- c[1]=(unsigned char)(((l)>> 8)&0xff), \
- c[2]=(unsigned char)(((l) )&0xff)),c+=3)
-
/* LOCAL STUFF */
#define SSL_DECRYPT 0