Added builder patch for public sha256 functions
ci/woodpecker/push/lint unknown status Details
ci/woodpecker/push/release unknown status Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/image Pipeline was successful Details
ci/woodpecker/push/builder Pipeline was successful Details
ci/woodpecker/push/publish Pipeline was successful Details

pull/60/head
Jef Roosens 2022-01-31 14:19:37 +01:00
parent 21c8e28e64
commit cb492cadc6
Signed by: Jef Roosens
GPG Key ID: 955C0660072F691F
1 changed files with 6 additions and 0 deletions

View File

@ -5,3 +5,9 @@
# Add parse_request_no_body # Add parse_request_no_body
cat parse_request_no_body.v >> "$1"/vlib/net/http/request.v cat parse_request_no_body.v >> "$1"/vlib/net/http/request.v
# Make sha256 functions public
sed -i \
-e 's/\(fn (mut d Digest) checksum(\)/pub \1/' \
-e 's/\(fn (mut d Digest) write(\)/pub \1/' \
"$1"/vlib/crypto/sha256/sha256.v