diff options
| author | brian m. carlson <sandals@crustytoothpaste.net> | 2026-07-19 01:08:41 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-07-19 16:26:09 -0700 |
| commit | 251e7af9924f9d3132a7b2f1f0f9563c829bc419 (patch) | |
| tree | ebeb7793595a230c6bd20ed7718f96d1cabc59de /contrib/persistent-https | |
| parent | 48bbf81c29ca9a4479ec7850fe206518682cdb2f (diff) | |
hash: initialize context before cloning
Our C-based clone helper requires that the context be initialized, but
we neglect to do that in our Clone implementation for CryptoHasher.
This does not matter when using our default block SHA-256
implementation, but it does cause a crash when using OpenSSL as the
backend. Fix this by properly initializing the context before cloning
into it.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/persistent-https')
0 files changed, 0 insertions, 0 deletions
