X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fcryptlib.h;h=5ceaa964b5324fa51966bea5db4b6d2f841d84e5;hb=db0edc3273cf4474e59f74ec229bbe4f2afa8849;hp=ffca3c8c53bf9fd044e71307c7246730bbe6753d;hpb=bc36ee6227517edae802bcb0da68d4f04fe1fb5e;p=oweals%2Fopenssl.git diff --git a/crypto/cryptlib.h b/crypto/cryptlib.h index ffca3c8c53..5ceaa964b5 100644 --- a/crypto/cryptlib.h +++ b/crypto/cryptlib.h @@ -62,7 +62,12 @@ #include #include -#include "openssl/e_os.h" +#include "e_os.h" + +#ifdef OPENSSL_USE_APPLINK +#define BIO_FLAGS_UPLINK 0x8000 +#include "ms/uplink.h" +#endif #include #include @@ -89,6 +94,17 @@ extern "C" { #define X509_CERT_DIR_EVP "SSL_CERT_DIR" #define X509_CERT_FILE_EVP "SSL_CERT_FILE" +/* size of string representations */ +#define DECIMAL_SIZE(type) ((sizeof(type)*8+2)/3+1) +#define HEX_SIZE(type) (sizeof(type)*2) + +void OPENSSL_cpuid_setup(void); +extern unsigned long OPENSSL_ia32cap_P; +void OPENSSL_showfatal(const char *,...); +void *OPENSSL_stderr(void); +extern int OPENSSL_NONPIC_relocated; +int OPENSSL_isservice(void); + #ifdef __cplusplus } #endif