summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2020-02-21 16:18:52 +0000
committerjsing <jsing@openbsd.org>2020-02-21 16:18:52 +0000
commit0141ccbabd164da840e1e76af9ea04bad0ab281d (patch)
tree19f4773001fd4dfcdfe6431c647acee46f7768a7
parentConvert the SSL/TLS record creation code to CBB. (diff)
downloadwireguard-openbsd-0141ccbabd164da840e1e76af9ea04bad0ab281d.tar.xz
wireguard-openbsd-0141ccbabd164da840e1e76af9ea04bad0ab281d.zip
Remove the s2n macro now that it is finally unused.
ok inoguchi@ tb@
-rw-r--r--lib/libssl/ssl_locl.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libssl/ssl_locl.h b/lib/libssl/ssl_locl.h
index e557c2e9fc5..b254ee59a8b 100644
--- a/lib/libssl/ssl_locl.h
+++ b/lib/libssl/ssl_locl.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssl_locl.h,v 1.265 2020/02/21 16:07:00 jsing Exp $ */
+/* $OpenBSD: ssl_locl.h,v 1.266 2020/02/21 16:18:52 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -169,9 +169,6 @@ __BEGIN_HIDDEN_DECLS
#define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \
__attribute__((__unused__))
-#define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \
- c[1]=(unsigned char)(((s) )&0xff)),c+=2)
-
#ifndef LIBRESSL_HAS_TLS1_3_CLIENT
#define LIBRESSL_HAS_TLS1_3_CLIENT
#endif