X-Git-Url: https://git.openssl.org/?a=blobdiff_plain;f=crypto%2Fcryptlib.h;h=88e4ae509f45155eb27108c1a048cc277a65f160;hb=10fa0476224ed90bcfab94d67debfc4f20e78c74;hp=5eff5d31412e53d3f6bea3f340cf3bed95e5b78b;hpb=b50e1bd3c3f0b8331b616a10bbc1fc20ea866d07;p=openssl.git diff --git a/crypto/cryptlib.h b/crypto/cryptlib.h index 5eff5d3141..88e4ae509f 100644 --- a/crypto/cryptlib.h +++ b/crypto/cryptlib.h @@ -62,7 +62,7 @@ #include #include -#include "openssl/e_os.h" +#include "e_os.h" #include #include @@ -74,7 +74,7 @@ extern "C" { #endif -#ifndef VMS +#ifndef OPENSSL_SYS_VMS #define X509_CERT_AREA OPENSSLDIR #define X509_CERT_DIR OPENSSLDIR "/certs" #define X509_CERT_FILE OPENSSLDIR "/cert.pem" @@ -89,6 +89,10 @@ 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) +#define HEX_SIZE(type) ((sizeof(type)*2) + #ifdef __cplusplus } #endif