summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2020-02-21 16:18:53 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2020-02-21 16:18:53 +0000
commit882c2e24a54ceb6b7cf3987bcb8955b8a68eb332 (patch)
tree4e9d2cdb9e272d2d7dd3cc421e5c03b9830b1eb4 /lib
parenta9733cf96fa987bee7437e177af3429d3d69cb53 (diff)
Remove the s2n macro now that it is finally unused.
ok inoguchi@ tb@
Diffstat (limited to 'lib')
-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