summaryrefslogtreecommitdiffstats
path: root/ssl/ssl_locl.h
diff options
context:
space:
mode:
authorRob Stradling <rob@comodo.com>2014-02-20 21:41:12 +0000
committerDr. Stephen Henson <steve@openssl.org>2014-02-20 21:43:54 +0000
commitc74ce24cd22e8c683ba0e5353c0762f8616e597d (patch)
treef4c7a3cd36a203984b6d1cfbc60b2a1fee5ba67a /ssl/ssl_locl.h
parent612566e752d31d437370b259488046370897132a (diff)
Show the contents of the RFC6962 Signed Certificate Timestamp List Certificate/OCSP Extensions.
Add the RFC6962 OIDs to the objects table. (backport from master branch)
Diffstat (limited to 'ssl/ssl_locl.h')
-rw-r--r--ssl/ssl_locl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/ssl/ssl_locl.h b/ssl/ssl_locl.h
index 1e67a56295..f0d621614b 100644
--- a/ssl/ssl_locl.h
+++ b/ssl/ssl_locl.h
@@ -231,6 +231,15 @@
l|=((BN_ULLONG)(*((c)++)))<< 8, \
l|=((BN_ULLONG)(*((c)++))))
+#define n2l8(c,l) (l =((BN_ULLONG)(*((c)++)))<<56, \
+ l|=((BN_ULLONG)(*((c)++)))<<48, \
+ 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; \