diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2022-07-13 22:25:11 -0400 |
---|---|---|
committer | Edward Thomson <ethomson@edwardthomson.com> | 2022-07-13 22:50:33 -0400 |
commit | b43567d655b6fbc562a165095a6980d19c4ae278 (patch) | |
tree | ee84020f9f2c9f53a1f11656e2cd1205502cda48 /tests/libgit2/online/clone.c | |
parent | 433a133402fae298f8ee7613bcfd997c2712d269 (diff) | |
download | libgit2-b43567d655b6fbc562a165095a6980d19c4ae278.tar.gz |
sha256: indirection for experimental functions
The experimental function signature is only available when
`GIT_EXPERIMENTAL_SHA256` is enabled.
Diffstat (limited to 'tests/libgit2/online/clone.c')
-rw-r--r-- | tests/libgit2/online/clone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/libgit2/online/clone.c b/tests/libgit2/online/clone.c index 507bace14..ef340c2e2 100644 --- a/tests/libgit2/online/clone.c +++ b/tests/libgit2/online/clone.c @@ -636,7 +636,7 @@ static int ssh_certificate_check(git_cert *cert, int valid, const char *host, vo cl_assert(_remote_ssh_fingerprint); - cl_git_pass(git_oid_fromstrp(&expected, _remote_ssh_fingerprint, GIT_OID_SHA1)); + cl_git_pass(git_oid__fromstrp(&expected, _remote_ssh_fingerprint, GIT_OID_SHA1)); cl_assert_equal_i(GIT_CERT_HOSTKEY_LIBSSH2, cert->cert_type); key = (git_cert_hostkey *) cert; |