diff --git a/patches/opensslv.h b/patches/opensslv.h new file mode 100644 index 0000000..04cdead --- /dev/null +++ b/patches/opensslv.h @@ -0,0 +1,13 @@ +--- include/openssl/opensslv.h.orig Fri Sep 11 17:03:15 2015 ++++ include/openssl/opensslv.h Fri Sep 11 17:04:56 2015 +@@ -3,8 +3,8 @@ + #define HEADER_OPENSSLV_H + + /* These will change with each release of LibreSSL-portable */ +-#define LIBRESSL_VERSION_NUMBER 0x20020003L +-#define LIBRESSL_VERSION_TEXT "LibreSSL 2.2.3" ++#define LIBRESSL_VERSION_NUMBER 0x20020004L ++#define LIBRESSL_VERSION_TEXT "LibreSSL 2.2.4" + + /* These will never change */ + #define OPENSSL_VERSION_NUMBER 0x20000000L diff --git a/update.sh b/update.sh index 02d6915..f07603a 100755 --- a/update.sh +++ b/update.sh @@ -121,6 +121,7 @@ copy_hdrs crypto "stack/stack.h lhash/lhash.h stack/safestack.h copy_hdrs ssl "srtp.h ssl.h ssl2.h ssl3.h ssl23.h tls1.h dtls1.h" $CP $libssl_src/src/crypto/opensslv.h include/openssl +patch -p0 < patches/opensslv.h awk '/LIBRESSL_VERSION_TEXT/ {print $4}' < include/openssl/opensslv.h | cut -d\" -f1 > VERSION echo "LibreSSL version `cat VERSION`"