diff options
author | jsing <> | 2020-02-21 16:18:52 +0000 |
---|---|---|
committer | jsing <> | 2020-02-21 16:18:52 +0000 |
commit | ee3fd3389c54d5a01b831fd265d4cd8ec65e25cd (patch) | |
tree | b6f2797ee18178e757c86c4eccfb4428fbda6e32 | |
parent | b9bfee2a79108f9a2c62c6242df91519961c51c3 (diff) | |
download | openbsd-ee3fd3389c54d5a01b831fd265d4cd8ec65e25cd.tar.gz openbsd-ee3fd3389c54d5a01b831fd265d4cd8ec65e25cd.tar.bz2 openbsd-ee3fd3389c54d5a01b831fd265d4cd8ec65e25cd.zip |
Remove the s2n macro now that it is finally unused.
ok inoguchi@ tb@
-rw-r--r-- | src/lib/libssl/ssl_locl.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h index e557c2e9fc..b254ee59a8 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.265 2020/02/21 16:07:00 jsing Exp $ */ | 1 | /* $OpenBSD: ssl_locl.h,v 1.266 2020/02/21 16:18:52 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 | * |
@@ -169,9 +169,6 @@ __BEGIN_HIDDEN_DECLS | |||
169 | #define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \ | 169 | #define CTASSERT(x) extern char _ctassert[(x) ? 1 : -1 ] \ |
170 | __attribute__((__unused__)) | 170 | __attribute__((__unused__)) |
171 | 171 | ||
172 | #define s2n(s,c) ((c[0]=(unsigned char)(((s)>> 8)&0xff), \ | ||
173 | c[1]=(unsigned char)(((s) )&0xff)),c+=2) | ||
174 | |||
175 | #ifndef LIBRESSL_HAS_TLS1_3_CLIENT | 172 | #ifndef LIBRESSL_HAS_TLS1_3_CLIENT |
176 | #define LIBRESSL_HAS_TLS1_3_CLIENT | 173 | #define LIBRESSL_HAS_TLS1_3_CLIENT |
177 | #endif | 174 | #endif |