summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/ssl_locl.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 39aabb05fb..2592d56a61 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssl_locl.h,v 1.210 2018/08/27 16:42:48 jsing Exp $ */ 1/* $OpenBSD: ssl_locl.h,v 1.211 2018/08/27 17:11:32 jsing Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -181,15 +181,9 @@ __BEGIN_HIDDEN_DECLS
181 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \ 181 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \
182 *((c)++)=(unsigned char)(((l) )&0xff)) 182 *((c)++)=(unsigned char)(((l) )&0xff))
183 183
184#define n2s(c,s) ((s=(((unsigned int)(c[0]))<< 8)| \
185 (((unsigned int)(c[1])) )),c+=2)
186#define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \ 184#define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \
187 c[1]=(unsigned char)(((s) )&0xff)),c+=2) 185 c[1]=(unsigned char)(((s) )&0xff)),c+=2)
188 186
189#define l2n3(l,c) ((c[0]=(unsigned char)(((l)>>16)&0xff), \
190 c[1]=(unsigned char)(((l)>> 8)&0xff), \
191 c[2]=(unsigned char)(((l) )&0xff)),c+=3)
192
193/* LOCAL STUFF */ 187/* LOCAL STUFF */
194 188
195#define SSL_DECRYPT 0 189#define SSL_DECRYPT 0