Added builder patch for public sha256 functions

main
Jef Roosens 2022-01-31 14:19:37 +01:00
parent 21c8e28e64
commit cb492cadc6
Signed by untrusted user: 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