summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorzhangzhilei <zhangzhilei@360.cn>2023-05-04 20:33:38 +0800
committerTodd Short <todd.short@me.com>2023-05-05 16:51:03 -0400
commit6aeb42eca97227c8235af0986d1525ee4a916504 (patch)
tree83a67d4b7f9da064b475f4d117d0f308c4509bbd /include
parent639e3970d0f1022c9cd15c4ff45845d7e9d65bbc (diff)
downloadopenssl-new-6aeb42eca97227c8235af0986d1525ee4a916504.tar.gz
remove unused macro in common.h
Reviewed-by: Todd Short <todd.short@me.com> Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20881)
Diffstat (limited to 'include')
-rw-r--r--include/internal/common.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/internal/common.h b/include/internal/common.h
index dd07e07ab9..6921a3ccd0 100644
--- a/include/internal/common.h
+++ b/include/internal/common.h
@@ -131,19 +131,11 @@ __owur static ossl_inline int ossl_assert_int(int expr, const char *exprstr,
l|=((uint64_t)(*((c)++)))<< 8, \
l|=((uint64_t)(*((c)++))))
-
# define l2n(l,c) (*((c)++)=(unsigned char)(((l)>>24)&0xff), \
*((c)++)=(unsigned char)(((l)>>16)&0xff), \
*((c)++)=(unsigned char)(((l)>> 8)&0xff), \
*((c)++)=(unsigned char)(((l) )&0xff))
-# define l2n6(l,c) (*((c)++)=(unsigned char)(((l)>>40)&0xff), \
- *((c)++)=(unsigned char)(((l)>>32)&0xff), \
- *((c)++)=(unsigned char)(((l)>>24)&0xff), \
- *((c)++)=(unsigned char)(((l)>>16)&0xff), \
- *((c)++)=(unsigned char)(((l)>> 8)&0xff), \
- *((c)++)=(unsigned char)(((l) )&0xff))
-
# define l2n8(l,c) (*((c)++)=(unsigned char)(((l)>>56)&0xff), \
*((c)++)=(unsigned char)(((l)>>48)&0xff), \
*((c)++)=(unsigned char)(((l)>>40)&0xff), \