From 882c2e24a54ceb6b7cf3987bcb8955b8a68eb332 Mon Sep 17 00:00:00 2001 From: Joel Sing Date: Fri, 21 Feb 2020 16:18:53 +0000 Subject: Remove the s2n macro now that it is finally unused. ok inoguchi@ tb@ --- lib/libssl/ssl_locl.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3