Remove orphaned l2n6 and n2l6 macros.
authormiod <miod@openbsd.org>
Sun, 27 Apr 2014 20:34:33 +0000 (20:34 +0000)
committermiod <miod@openbsd.org>
Sun, 27 Apr 2014 20:34:33 +0000 (20:34 +0000)
lib/libssl/src/ssl/ssl_locl.h
lib/libssl/ssl_locl.h

index 5100369..012a38c 100644 (file)
                         *((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), \
                         *((c)++)=(unsigned char)(((l)>> 8)&0xff), \
                         *((c)++)=(unsigned char)(((l)    )&0xff))
 
-#define n2l6(c,l)      (l =((BN_ULLONG)(*((c)++)))<<40, \
-                        l|=((BN_ULLONG)(*((c)++)))<<32, \
-                        l|=((BN_ULLONG)(*((c)++)))<<24, \
-                        l|=((BN_ULLONG)(*((c)++)))<<16, \
-                        l|=((BN_ULLONG)(*((c)++)))<< 8, \
-                        l|=((BN_ULLONG)(*((c)++))))
-
 /* NOTE - c is not incremented as per l2c */
 #define l2cn(l1,l2,c,n)        { \
                        c+=n; \
index 5100369..012a38c 100644 (file)
                         *((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), \
                         *((c)++)=(unsigned char)(((l)>> 8)&0xff), \
                         *((c)++)=(unsigned char)(((l)    )&0xff))
 
-#define n2l6(c,l)      (l =((BN_ULLONG)(*((c)++)))<<40, \
-                        l|=((BN_ULLONG)(*((c)++)))<<32, \
-                        l|=((BN_ULLONG)(*((c)++)))<<24, \
-                        l|=((BN_ULLONG)(*((c)++)))<<16, \
-                        l|=((BN_ULLONG)(*((c)++)))<< 8, \
-                        l|=((BN_ULLONG)(*((c)++))))
-
 /* NOTE - c is not incremented as per l2c */
 #define l2cn(l1,l2,c,n)        { \
                        c+=n; \