Skip to content

Commit b7f7d76

Browse files
higuoxingAlexei Starovoitov
authored andcommitted
selftests/bpf: Update test_tag to use sha256
commit 603b441 ("bpf: Update the bpf_prog_calc_tag to use SHA256") changed digest of prog_tag to SHA256 but forgot to update tests correspondingly. Fix it. Fixes: 603b441 ("bpf: Update the bpf_prog_calc_tag to use SHA256") Signed-off-by: Xing Guo <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexei Starovoitov <[email protected]>
1 parent ae24fc8 commit b7f7d76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/bpf/test_tag.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ static void tag_from_alg(int insns, uint8_t *tag, uint32_t len)
116116
static const struct sockaddr_alg alg = {
117117
.salg_family = AF_ALG,
118118
.salg_type = "hash",
119-
.salg_name = "sha1",
119+
.salg_name = "sha256",
120120
};
121121
int fd_base, fd_alg, ret;
122122
ssize_t size;

0 commit comments

Comments
 (0)