diff options
-rw-r--r-- | radsecproxy/tlscommon.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/radsecproxy/tlscommon.h b/radsecproxy/tlscommon.h index 5a6d262..733f7fd 100644 --- a/radsecproxy/tlscommon.h +++ b/radsecproxy/tlscommon.h @@ -4,6 +4,11 @@ #include <netinet/in.h> #include <openssl/ssl.h> +#if OPENSSL_VERSION_NUMBER < 0x10100000L +#define ASN1_STRING_get0_data(o) ((o)->data) +#define ASN1_STRING_length(o) ((o)->length) +#endif + #if defined (__cplusplus) extern "C" { #endif |