alicelinux

A lightweight musl + clang/llvm + libressl + busybox distro
git clone https://codeberg.org/emmett1/alicelinux
Log | Files | Refs | README | LICENSE

libressl.diff (603B)


      1 diff --git a/openssl-compat.h b/openssl-compat.h
      2 index a23e342..59c26b8 100644
      3 --- a/openssl-compat.h
      4 +++ b/openssl-compat.h
      5 @@ -40,7 +40,8 @@ static inline BIO_METHOD *BIO_meth_new(int type, const char *name)
      6  #endif /* (OPENSSL_VERSION_NUMBER < 0x10100000L) || \
      7  	(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20700000L) */
      8  
      9 -#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L
     10 +#if defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20700000L \
     11 +      && LIBRESSL_VERSION_NUMBER < 0x30500000L
     12  #define BIO_get_init(b) (b)->init
     13  #endif
     14