diff --git a/deps/libssl/openssl b/deps/libssl/openssl index fc4ded39a9..82b8b21b7d 120000 --- a/deps/libssl/openssl +++ b/deps/libssl/openssl @@ -1 +1 @@ -openssl-3.0.5 \ No newline at end of file +openssl-openssl-3.0.7 \ No newline at end of file diff --git a/deps/libssl/openssl-3.0.5.tar.gz b/deps/libssl/openssl-3.0.7.tar.gz similarity index 63% rename from deps/libssl/openssl-3.0.5.tar.gz rename to deps/libssl/openssl-3.0.7.tar.gz index ea82eee29b..f05cd8c4ca 100644 Binary files a/deps/libssl/openssl-3.0.5.tar.gz and b/deps/libssl/openssl-3.0.7.tar.gz differ diff --git a/deps/libssl/verify-bio_st-match.sh b/deps/libssl/verify-bio_st-match.sh new file mode 100644 index 0000000000..a31e5f4fc9 --- /dev/null +++ b/deps/libssl/verify-bio_st-match.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +# make sure we have correct cwd +pushd $(dirname $0) &>/dev/null +trap 'popd &>/dev/null' EXIT + +echo "extracting 'struct bio_st' from './deps/libssl/openssl/crypto/bio/bio_local.h'" +DEPBIOST=$(cd ../../; cat ./deps/libssl/openssl/crypto/bio/bio_local.h | sed -n '/^struct bio_st {/,/}/p') + +echo "extracting 'struct bio_st' from './lib/mysql_data_stream.cpp'" +LIBBIOST=$(cd ../../; cat ./lib/mysql_data_stream.cpp | sed '/^\/\*/,/*\//d' | sed -n '/^struct bio_st {/,/}/p') + +echo -n "Comparing ... " +if [[ "$LIBBIOST" == "$DEPBIOST" ]]; then + echo "PASS - bio_st is a match!"; +else + echo "FAIL - bio_st does not match!"; + exit 1 +fi