summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authormiod <>2014-04-27 20:34:33 +0000
committermiod <>2014-04-27 20:34:33 +0000
commit3bb237f84d383ea62df86e4affd171a1a6bbbf7f (patch)
treefc894158f38b28609f8cf7a21032f584f0aa859a /src/lib
parent45bb7f0ae87ddf787dd06d515db9afb04a74bf6c (diff)
downloadopenbsd-3bb237f84d383ea62df86e4affd171a1a6bbbf7f.tar.gz
openbsd-3bb237f84d383ea62df86e4affd171a1a6bbbf7f.tar.bz2
openbsd-3bb237f84d383ea62df86e4affd171a1a6bbbf7f.zip
Remove orphaned l2n6 and n2l6 macros.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libssl/src/ssl/ssl_locl.h14
-rw-r--r--src/lib/libssl/ssl_locl.h14
2 files changed, 0 insertions, 28 deletions
diff --git a/src/lib/libssl/src/ssl/ssl_locl.h b/src/lib/libssl/src/ssl/ssl_locl.h
index 5100369bab..012a38cc5c 100644
--- a/src/lib/libssl/src/ssl/ssl_locl.h
+++ b/src/lib/libssl/src/ssl/ssl_locl.h
@@ -200,13 +200,6 @@
200 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \ 200 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \
201 *((c)++)=(unsigned char)(((l) )&0xff)) 201 *((c)++)=(unsigned char)(((l) )&0xff))
202 202
203#define l2n6(l,c) (*((c)++)=(unsigned char)(((l)>>40)&0xff), \
204 *((c)++)=(unsigned char)(((l)>>32)&0xff), \
205 *((c)++)=(unsigned char)(((l)>>24)&0xff), \
206 *((c)++)=(unsigned char)(((l)>>16)&0xff), \
207 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \
208 *((c)++)=(unsigned char)(((l) )&0xff))
209
210#define l2n8(l,c) (*((c)++)=(unsigned char)(((l)>>56)&0xff), \ 203#define l2n8(l,c) (*((c)++)=(unsigned char)(((l)>>56)&0xff), \
211 *((c)++)=(unsigned char)(((l)>>48)&0xff), \ 204 *((c)++)=(unsigned char)(((l)>>48)&0xff), \
212 *((c)++)=(unsigned char)(((l)>>40)&0xff), \ 205 *((c)++)=(unsigned char)(((l)>>40)&0xff), \
@@ -216,13 +209,6 @@
216 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \ 209 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \
217 *((c)++)=(unsigned char)(((l) )&0xff)) 210 *((c)++)=(unsigned char)(((l) )&0xff))
218 211
219#define n2l6(c,l) (l =((BN_ULLONG)(*((c)++)))<<40, \
220 l|=((BN_ULLONG)(*((c)++)))<<32, \
221 l|=((BN_ULLONG)(*((c)++)))<<24, \
222 l|=((BN_ULLONG)(*((c)++)))<<16, \
223 l|=((BN_ULLONG)(*((c)++)))<< 8, \
224 l|=((BN_ULLONG)(*((c)++))))
225
226/* NOTE - c is not incremented as per l2c */ 212/* NOTE - c is not incremented as per l2c */
227#define l2cn(l1,l2,c,n) { \ 213#define l2cn(l1,l2,c,n) { \
228 c+=n; \ 214 c+=n; \
diff --git a/src/lib/libssl/ssl_locl.h b/src/lib/libssl/ssl_locl.h
index 5100369bab..012a38cc5c 100644
--- a/src/lib/libssl/ssl_locl.h
+++ b/src/lib/libssl/ssl_locl.h
@@ -200,13 +200,6 @@
200 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \ 200 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \
201 *((c)++)=(unsigned char)(((l) )&0xff)) 201 *((c)++)=(unsigned char)(((l) )&0xff))
202 202
203#define l2n6(l,c) (*((c)++)=(unsigned char)(((l)>>40)&0xff), \
204 *((c)++)=(unsigned char)(((l)>>32)&0xff), \
205 *((c)++)=(unsigned char)(((l)>>24)&0xff), \
206 *((c)++)=(unsigned char)(((l)>>16)&0xff), \
207 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \
208 *((c)++)=(unsigned char)(((l) )&0xff))
209
210#define l2n8(l,c) (*((c)++)=(unsigned char)(((l)>>56)&0xff), \ 203#define l2n8(l,c) (*((c)++)=(unsigned char)(((l)>>56)&0xff), \
211 *((c)++)=(unsigned char)(((l)>>48)&0xff), \ 204 *((c)++)=(unsigned char)(((l)>>48)&0xff), \
212 *((c)++)=(unsigned char)(((l)>>40)&0xff), \ 205 *((c)++)=(unsigned char)(((l)>>40)&0xff), \
@@ -216,13 +209,6 @@
216 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \ 209 *((c)++)=(unsigned char)(((l)>> 8)&0xff), \
217 *((c)++)=(unsigned char)(((l) )&0xff)) 210 *((c)++)=(unsigned char)(((l) )&0xff))
218 211
219#define n2l6(c,l) (l =((BN_ULLONG)(*((c)++)))<<40, \
220 l|=((BN_ULLONG)(*((c)++)))<<32, \
221 l|=((BN_ULLONG)(*((c)++)))<<24, \
222 l|=((BN_ULLONG)(*((c)++)))<<16, \
223 l|=((BN_ULLONG)(*((c)++)))<< 8, \
224 l|=((BN_ULLONG)(*((c)++))))
225
226/* NOTE - c is not incremented as per l2c */ 212/* NOTE - c is not incremented as per l2c */
227#define l2cn(l1,l2,c,n) { \ 213#define l2cn(l1,l2,c,n) { \
228 c+=n; \ 214 c+=n; \