diff options
Diffstat (limited to 'lib/libcrypto/cryptlib.h')
-rw-r--r-- | lib/libcrypto/cryptlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libcrypto/cryptlib.h b/lib/libcrypto/cryptlib.h index a0489e57fc9..37ce7721fb0 100644 --- a/lib/libcrypto/cryptlib.h +++ b/lib/libcrypto/cryptlib.h @@ -89,6 +89,9 @@ extern "C" { #define X509_CERT_DIR_EVP "SSL_CERT_DIR" #define X509_CERT_FILE_EVP "SSL_CERT_FILE" +/* size of string represenations */ +#define DECIMAL_SIZE(type) ((sizeof(type)*8+2)/3+1) + #ifdef __cplusplus } #endif |