commit - af48e677ec38c47d1177ca776b01e299b0f2a96d
commit + 5822e79e39a8777984e08b5d89a8c55d6aa0356d
blob - e75e9df1ffe98d65e09ab2c686e4f154a8854b94
blob + 444d5de08500b51329793ef39b77c389e8f53995
--- got/got.c
+++ got/got.c
#include <locale.h>
#include <ctype.h>
#include <sha1.h>
+#include <sha2.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
blob - 5b9d8b5a6a7fbe003142391b78a0d10c4d9776a8
blob + dee750d952183c77a15074c748c77e5a2510a5e5
--- gotadmin/gotadmin.c
+++ gotadmin/gotadmin.c
#include <locale.h>
#include <inttypes.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
blob - c325f57c4de7b7c6a9487f451080651916364add
blob + 38e4349026233f676c860654e1ebed2cc32c13f3
--- gotctl/gotctl.c
+++ gotctl/gotctl.c
#include <limits.h>
#include <locale.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
blob - bf64d2744e1d5ba3fab4b5543aa89d7eeed41534
blob + dc12f7d7d4e12f45b25c2ea041355a326ba36d91
--- gotd/auth.c
+++ gotd/auth.c
#include <pwd.h>
#include <grp.h>
#include <sha1.h>
+#include <sha2.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
blob - 00d1d81a42f9598ad0cba57a03f07fb868556714
blob + add224699cba16029f54df09a6eb6251d2024151
--- gotd/gotd.c
+++ gotd/gotd.c
#include <pwd.h>
#include <imsg.h>
#include <sha1.h>
+#include <sha2.h>
#include <signal.h>
#include <siphash.h>
#include <stdarg.h>
blob - 0700417f4a9557b15e2d4bbbdb112efdb79a21fa
blob + 3813dd6071aae8355cf41ade517cd479db0cd5af
--- gotd/imsg.c
+++ gotd/imsg.c
#include <limits.h>
#include <poll.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
blob - caeacc5c09a64de9669eb5370d3ac0cbb3071b45
blob + a0953584fa86b2eef4d45cc9ccb6d5823eb55f00
--- gotd/listen.c
+++ gotd/listen.c
#include <imsg.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <signal.h>
#include <unistd.h>
blob - 0ac72ed607c755f9ef479ef7340a69603da1fba3
blob + 2a7768e3841b5f1a6bedaba38b27170496ecfceb
--- gotd/parse.y
+++ gotd/parse.y
#include <imsg.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdarg.h>
#include <stdlib.h>
#include <stdio.h>
blob - e78dd4fb4cada73349067798a377d8d17194da2e
blob + e5c21b47893334094185748ac154995dee4065d6
--- gotd/privsep_stub.c
+++ gotd/privsep_stub.c
#include <sys/uio.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
blob - de57ba5027a29b8074cadbe8bb9367f848c92623
blob + 72bc2318a2e2469d1d4a9457ed349c23d3702aea
--- gotd/repo_imsg.c
+++ gotd/repo_imsg.c
#include <event.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
blob - 0daab349e7c710cf67f34278732cdcaea2cf66e6
blob + 5c07746639cfa5d1c884730820173d58ce732e99
--- gotd/repo_read.c
+++ gotd/repo_read.c
#include <limits.h>
#include <poll.h>
#include <sha1.h>
+#include <sha2.h>
#include <siphash.h>
#include <stdio.h>
#include <string.h>
blob - ef69dc3e320feb4f5f62e712f965a1d36e35e59f
blob + 8e7887d1348abccd2ca9ecc170522756afa06398
--- gotd/repo_write.c
+++ gotd/repo_write.c
#include <limits.h>
#include <poll.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
blob - e56cd47cb6f50b93b2fe70db937b9c3beabcb04f
blob + 5bab9972301d215e1afe68a371dab2c35484b9bd
--- gotd/session.c
+++ gotd/session.c
#include <event.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <signal.h>
#include <stdint.h>
#include <stdio.h>
blob - 155e1d060068073688a48f0ea1b8905b0d7bac1c
blob + beb02307a41d585965a6d2853eb38b69adeedf87
--- gotsh/gotsh.c
+++ gotsh/gotsh.c
#include <imsg.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
blob - f590fbeec3d166b03a21d728cd7b310503675b34
blob + f0ec1939cb99398076236b923bf5a669bb2956a2
--- gotwebd/got_operations.c
+++ gotwebd/got_operations.c
#include <event.h>
#include <imsg.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
blob - 2ed6735a30264d09cf3010f9aa71887a25d9a6b6
blob + 52aa037e4a8d734d17311aabbd7586d7e23d8fcd
--- gotwebd/gotweb.c
+++ gotwebd/gotweb.c
#include <fcntl.h>
#include <imsg.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
blob - 4f2bb0bac2efa66282ac22766a12c8bea389c182
blob + bea0461c4b1286b162ce1d279fb93dd847ff4ab5
--- gotwebd/pages.tmpl
+++ gotwebd/pages.tmpl
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <imsg.h>
#include "got_error.h"
blob - b51f6d50c8a6bcab76b2a755d18c8ab257d40e47
blob + 19f4c5d3e50e52a062526f9f1fb0872e5a87fa2d
--- lib/blame.c
+++ lib/blame.c
#include <errno.h>
#include <sha1.h>
+#include <sha2.h>
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
blob - 6c8f37d0562acab80d6ba5fd78d19a877dd0c91f
blob + 45ed91c002a5e8a63378941757461aee195a0547
--- lib/commit_graph.c
+++ lib/commit_graph.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <zlib.h>
#include <ctype.h>
blob - 143943dab41bdfa1c563424971a783ce73ec6ca1
blob + 2e454602c2119dabd994881cce3b363f4ac0b9ac
--- lib/deflate.c
+++ lib/deflate.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <zlib.h>
#include <time.h>
blob - 13058972edf12022d3cb9a2b3ab0bd2c60c0ede9
blob + e43d98ae41c70e48398afaded344bc66a394b968
--- lib/delta.c
+++ lib/delta.c
#include <limits.h>
#include <zlib.h>
#include <sha1.h>
+#include <sha2.h>
#include <time.h>
#include <zlib.h>
blob - 7f83d8526e0ca49482325aa4d8a715455e8acbfd
blob + 652315fc34dc51cb0f159461f65511dfbada7f1b
--- lib/delta_cache.c
+++ lib/delta_cache.c
#include <string.h>
#include <stdint.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <zlib.h>
#include <limits.h>
blob - 26ad0c1921d76c50b48885cce2fa226b137793d7
blob + ab4e42cf1f2915c2bca5c735f86ed6ff502f258e
--- lib/diff.c
+++ lib/diff.c
#include <string.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <zlib.h>
#include "got_object.h"
blob - 4570818661d209d2a903214f7ca0611c3da485eb
blob + ff8cf0b4e609ae11ccb229f749a19390a8a22563
--- lib/diff3.c
+++ lib/diff3.c
#include <ctype.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
blob - f40a6d4c36c3cc615dab722e0d43353056e5ccc5
blob + 68471e1487ff2ce6b1a6a73c6b425eb0a580341f
--- lib/diffreg.c
+++ lib/diffreg.c
#include <errno.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
blob - 733765ad88418ae076d11d4f7e6e66e0ead5ae9e
blob + 0594e146d2cc9880efb2656076d68077f87407cb
--- lib/error.c
+++ lib/error.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <zlib.h>
#include <uuid.h>
blob - e1ffeced0f65b9b96bebd311728120b80ce7fed9
blob + bdbc5a99e7ea3c65dc1025b229cb9088a2042092
--- lib/fetch.c
+++ lib/fetch.c
#include <string.h>
#include <stdint.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
#include <ctype.h>
blob - b4fffff7a88afd671889ceff70fc467c6db806f2
blob + 8d63257a31ec340aa4c23346b7148d5331d4c107
--- lib/fileindex.c
+++ lib/fileindex.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <endian.h>
#include <limits.h>
#include <unistd.h>
blob - 44fc554ac408696a7dbb4c8acb50d2c24dce89a0
blob + 6dd09ab72f523344fe2211bae8b50ed3045ca472
--- lib/gotconfig.c
+++ lib/gotconfig.c
#include <stdint.h>
#include <imsg.h>
#include <sha1.h>
+#include <sha2.h>
#include <limits.h>
#include "got_error.h"
blob - dc46eb047636a6ef075d902f58565030b486aa27
blob + a7430b2862ad5a27a62c256b504986391d92854d
--- lib/inflate.c
+++ lib/inflate.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <poll.h>
#include <unistd.h>
#include <zlib.h>
blob - 57876d8fb763d7736c0cb4fbb6967718793d2cea
blob + 616110f7694a3b4c33137e816e98ec3fbd0ecc5f
--- lib/object.c
+++ lib/object.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
#include <libgen.h>
blob - a63584085e5b3f8e5781fe8fa8fa8825e9d8778e
blob + 82f79f01406b91db661457f0b87bd9d528f1085d
--- lib/object_cache.c
+++ lib/object_cache.c
#include <string.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <zlib.h>
#include "got_error.h"
blob - c8d4003646dbbf24c3e252839931cf8e83181583
blob + d7836025f28fa8cfc114d9547ac2e8fe42fe2ae2
--- lib/object_create.c
+++ lib/object_create.c
#include <string.h>
#include <stdint.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
blob - f58d1e7dc1d81be2989c4b8114725ca657c9ea3a
blob + 103067d7de3a1d7703e09e80cf6385c016733b27
--- lib/object_idset.c
+++ lib/object_idset.c
#include <stdint.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <zlib.h>
#include <limits.h>
blob - 40afcdfffec70644278cf7d34e73724d4932e5ff
blob + 0d4231ebe983b9f0f36e32dc6ea4cfa217100d03
--- lib/object_open_io.c
+++ lib/object_open_io.c
#include <errno.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
blob - c1e3ec7439e9913c3938302e0d374e4d688c6fcd
blob + cbbc11ad8ed748c7c80cc3999c13dd2f65951b43
--- lib/object_open_privsep.c
+++ lib/object_open_privsep.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <limits.h>
#include <unistd.h>
blob - 52fd48d81fd6b40f63ea1b5b40edbb3c8e40b3a2
blob + 32f17a47aacb973f4a807a866c3255ce4c08b66b
--- lib/object_parse.c
+++ lib/object_parse.c
#include <string.h>
#include <stdint.h>
#include <sha1.h>
+#include <sha2.h>
#include <zlib.h>
#include <ctype.h>
#include <limits.h>
blob - 37c3c83c15f1a14e488b614156337ebb6f6fc4b0
blob + 963e51e80e8dce5ebf0447ca653e93ec258de3ad
--- lib/pack.c
+++ lib/pack.c
#include <string.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <endian.h>
#include <unistd.h>
#include <zlib.h>
blob - 95d714f2a51d5cc296d631de484ea56651cc4c23
blob + da928cb0a1c732e0c7d6f0df0401177528771e3f
--- lib/pack_create.c
+++ lib/pack_create.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <time.h>
#include <unistd.h>
#include <limits.h>
blob - f9b0db5b972aba181cf96805d21968bce7c814c6
blob + 71dc7c652b8d8bc52bbbd8f75326fca9344bd271
--- lib/pack_create_io.c
+++ lib/pack_create_io.c
#include <sys/uio.h>
#include <sha1.h>
+#include <sha2.h>
#include <limits.h>
#include <stdio.h>
#include <stdint.h>
blob - 63e729e49404dd6fb94579bd500fa06cee7ac5fe
blob + 21a33372de3f7d23116d9edeec23858bec4f935d
--- lib/pack_create_privsep.c
+++ lib/pack_create_privsep.c
#include <sys/uio.h>
#include <sha1.h>
+#include <sha2.h>
#include <limits.h>
#include <stdio.h>
#include <stdint.h>
blob - dbd1daa943f326573aefc06b1316d88bee4e852a
blob + 109239b2d4894e2c87f0148253ee45502875815c
--- lib/pack_index.c
+++ lib/pack_index.c
#include <string.h>
#include <ctype.h>
#include <sha1.h>
+#include <sha2.h>
#include <endian.h>
#include <fcntl.h>
#include <unistd.h>
blob - 6227992d23f21048e0238cc7a3bfe018b85c9cf5
blob + 59a13dd810eba0402fc0b3ad5c4d0713a87dfb85
--- lib/patch.c
+++ lib/patch.c
#include <errno.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
blob - 2ea804d6b50252ce13355a1a2e89eda51e14cd20
blob + 5b304a5c206ad19cabadd551ff22e8897385ff43
--- lib/privsep.c
+++ lib/privsep.c
#include <poll.h>
#include <imsg.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
blob - b58507426a87ab346368bdad7903b8c08adb9de1
blob + 0a66f6c60ab7ddde4e975a741714b22ada064ea2
--- lib/read_gitconfig.c
+++ lib/read_gitconfig.c
#include <fcntl.h>
#include <imsg.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
blob - db996fe3996b3c638c45e65da4fbdd6fa80f02b2
blob + 6f95c0f3be48676947b73e0f94d3c4cb8f97d06e
--- lib/read_gitconfig_privsep.c
+++ lib/read_gitconfig_privsep.c
#include <fcntl.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
blob - e1d0575506fa5d57b220ca223d441cc8ac55513f
blob + 05502a62412786df6c1eb1c76b4411c0072d3054
--- lib/read_gotconfig_privsep.c
+++ lib/read_gotconfig_privsep.c
#include <stdint.h>
#include <imsg.h>
#include <sha1.h>
+#include <sha2.h>
#include <limits.h>
#include "got_error.h"
blob - ed17dd58dd4864a824f87a1d54d2cd42169bef1e
blob + b795d720cf9c55ea4542c68394a7b8841836d4a8
--- lib/reference.c
+++ lib/reference.c
#include <dirent.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
blob - 5d8a9b15a65274f5aca4f4b684451904e68f0615
blob + 5d61c690e9148236fe594887d0f16180cd8b517d
--- lib/repository.c
+++ lib/repository.c
#include <stdlib.h>
#include <stdio.h>
#include <sha1.h>
+#include <sha2.h>
#include <string.h>
#include <time.h>
#include <unistd.h>
blob - 2cf10c7098742c7f5001d798dd72d648ca497c54
blob + 12e06fd9d03b90c1baa018420815850bc60771d3
--- lib/repository_admin.c
+++ lib/repository_admin.c
#include <fcntl.h>
#include <stdint.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
blob - fda69159daf96e2499dd3ec55a92b67b66438a3a
blob + b264f31e208d68ff02d735e05bef2a7e740ffffb
--- lib/send.c
+++ lib/send.c
#include <string.h>
#include <stdint.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
#include <ctype.h>
blob - 6c99eff905aa3c5690f4a529dab7f51cd058b715
blob + 5c3d04049bbcd0db1d1c39d9f4cab4f3b0ff4e82
--- lib/serve.c
+++ lib/serve.c
#include <poll.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
blob - 1f25f1bb9dff77000b14a85bc42e8bd04577d1a3
blob + ee835ad4c90671b4fd6fd88951b7b5c716f05bce
--- lib/sha1.c
+++ lib/sha1.c
#include <sys/types.h>
#include <sha1.h>
+#include <sha2.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
blob - 8bcb3732e23d2041a0bd0790d942ce3377f22b68
blob + a51d5610cd2c6be2596b758258e73b8c6ce621c4
--- lib/sigs.c
+++ lib/sigs.c
#include <err.h>
#include <assert.h>
#include <sha1.h>
+#include <sha2.h>
#include "got_error.h"
#include "got_date.h"
blob - a8f4644bca44f95a2c1bca3d548dcd292f1f855d
blob + acd8307b04275b541a9891ab3fbfdeeeb432edef
--- lib/worktree.c
+++ lib/worktree.c
#include <errno.h>
#include <unistd.h>
#include <sha1.h>
+#include <sha2.h>
#include <zlib.h>
#include <fnmatch.h>
#include <libgen.h>
blob - 5fce2fbe10e55e0634d68aff25cbc1a5350ebe71
blob + 1fd944cee5f298a85e2b478b512037f6a0a3ef25
--- lib/worktree_open.c
+++ lib/worktree_open.c
#include <fcntl.h>
#include <limits.h>
#include <sha1.h>
+#include <sha2.h>
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
blob - bb635d09467269b207dc6d95439e5c975526a940
blob + 0d6a2fdb3fcbc261da832889417e85438d3189ba
--- libexec/got-fetch-pack/got-fetch-pack.c
+++ libexec/got-fetch-pack/got-fetch-pack.c
#include <string.h>
#include <ctype.h>
#include <sha1.h>
+#include <sha2.h>
#include <fcntl.h>
#include <unistd.h>
#include <zlib.h>
blob - e44cf3100a855c7702d3a6f0abd5af9889166e60
blob + 6211bae909a86681a6c240bb9f1d8e44a471a89d
--- libexec/got-index-pack/got-index-pack.c
+++ libexec/got-index-pack/got-index-pack.c
#include <sys/uio.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
blob - 839a953c4f820616b747cbd3fcca9350a558fc68
blob + ed8291ef577fe09d4957c03653a00c031b0cb0dd
--- libexec/got-read-blob/got-read-blob.c
+++ libexec/got-read-blob/got-read-blob.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
blob - 14d25e4015998c43610d92c975fba1da5a3c6818
blob + 06fd0ccf9175b92f3f512b27d34a8a5831d48edd
--- libexec/got-read-commit/got-read-commit.c
+++ libexec/got-read-commit/got-read-commit.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
blob - 6a5a396aaacb6e0b82ba18447c97c739cd0377cb
blob + 99f2a5a5d4fdc582151efa06eb679bf4bfd09a69
--- libexec/got-read-gitconfig/got-read-gitconfig.c
+++ libexec/got-read-gitconfig/got-read-gitconfig.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
blob - 45aaadb8bcd9513fe5075ceaa0fc416d03874885
blob + 0c3010abcae4d96473ce98b378f9dd456bbfe4c0
--- libexec/got-read-gotconfig/got-read-gotconfig.c
+++ libexec/got-read-gotconfig/got-read-gotconfig.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
blob - fd68c400e053f3ff8aceb09e2f9a600aefb7b52e
blob + 45455f641f9fb218d9f0b5d8509545f391463427
--- libexec/got-read-object/got-read-object.c
+++ libexec/got-read-object/got-read-object.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
blob - f74a7539ea258b7873c4586808e67aaaa0867c59
blob + ed4f9039ad8c4841bba30c73ac1ec2a413e881e7
--- libexec/got-read-pack/got-read-pack.c
+++ libexec/got-read-pack/got-read-pack.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
blob - df1f3379885ed0173607adc092058e4cb93307d3
blob + e5ac12f4b2c21aec7fcbb05d9dd0b32cb70c59ba
--- libexec/got-read-patch/got-read-patch.c
+++ libexec/got-read-patch/got-read-patch.c
#include <limits.h>
#include <paths.h>
#include <sha1.h>
+#include <sha2.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
blob - 5949d7c7273e1e1a82c7ec225c4e23e5a24119e8
blob + 0eba8437b5a4386da5c346a01bf741aa1b1ecd33
--- libexec/got-read-tag/got-read-tag.c
+++ libexec/got-read-tag/got-read-tag.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
blob - d9873e52a568090e2e3a5702e3ba8555119d31e2
blob + dadab5108323c038a93c499449fdab2599dda988
--- libexec/got-read-tree/got-read-tree.c
+++ libexec/got-read-tree/got-read-tree.c
#include <stdlib.h>
#include <string.h>
#include <sha1.h>
+#include <sha2.h>
#include <unistd.h>
#include <zlib.h>
blob - 0fd0e6b2e84bfc5519482bd5ae802897596069f2
blob + 5fcc44c06073be44e528183f338257c89eab9f9d
--- libexec/got-send-pack/got-send-pack.c
+++ libexec/got-send-pack/got-send-pack.c
#include <string.h>
#include <ctype.h>
#include <sha1.h>
+#include <sha2.h>
#include <fcntl.h>
#include <unistd.h>
#include <zlib.h>
blob - 8bf54464cab24b0793ad1c92d1085212a09dc526
blob + e4defb763447ad087297a8dbd741450eb4563f04
--- regress/fetch/fetch_test.c
+++ regress/fetch/fetch_test.c
#include <unistd.h>
#include <err.h>
#include <sha1.h>
+#include <sha2.h>
#include <zlib.h>
#include <time.h>
blob - f473bd34c3797403a9a540f9222323c574a6d2d6
blob + 686196fc5aecb11d94216d1536ba42fd2acaaf77
--- regress/idset/idset_test.c
+++ regress/idset/idset_test.c
#include <unistd.h>
#include <err.h>
#include <sha1.h>
+#include <sha2.h>
#include <zlib.h>
#include <time.h>
blob - 684d848b2cfddf5e676a0f04df5a276de4136861
blob + 40201c25f18ee7225e330e73140e4238037d66e3
--- tog/tog.c
+++ tog/tog.c
#include <panel.h>
#include <locale.h>
#include <sha1.h>
+#include <sha2.h>
#include <signal.h>
#include <stdlib.h>
#include <stdarg.h>