Move macros for reading/writing integers into ct_locl.h
[openssl.git] / crypto / ct / ct_b64.c
index 8228f3d6bee89f5c02f22c85b3d1434969447493..a1693a6c28aa924209abc965147be38d3b7e063f 100644 (file)
 #include <openssl/err.h>
 #include <openssl/evp.h>
 
-/*
- * TODO(robpercival): These macros are getting duplicated all over the place.
- * Is there a single place they should be defined for re-use?
- * Also, is there a good reason they aren't functions?
- */
-#define n2s(c,s) ((s=(((unsigned int)((c)[0]))<<8) | \
-                     (((unsigned int)((c)[1])))), \
-                  c+=2)
+#include "ct_locl.h"
 
 /*
  * Decodes the base64 string |in| into |out|.