Skip to content

Commit

Permalink
Merge pull request #4007 from sysown/v2.x-openssl_3.0.7
Browse files Browse the repository at this point in the history
update to openssl 3.0.7
  • Loading branch information
renecannao authored Nov 29, 2022
2 parents 8a44ce1 + b81d865 commit fa0bcfd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deps/libssl/openssl
Binary file not shown.
19 changes: 19 additions & 0 deletions deps/libssl/verify-bio_st-match.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fa0bcfd

Please sign in to comment.