diff options
| author | Jie Zhan <zhanjie9@hisilicon.com> | 2026-01-07 09:58:29 +0800 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-01-08 11:14:59 -0800 |
| commit | 0f42c2a52d8a7535088895c3104150ac9019afd8 (patch) | |
| tree | 6673a78a42d15b3dd2a0ab241b4903fbc23966a6 /include/uapi/linux | |
| parent | fcff71fd888dce1533a3975e68fc80824ff69ef9 (diff) | |
lib/crypto: tests: Fix syntax error for old python versions
'make binrpm-pkg' throws me this error, with Python 3.9:
*** Error compiling '.../gen-hash-testvecs.py'...
File ".../scripts/crypto/gen-hash-testvecs.py", line 121
return f'{alg.upper().replace('-', '_')}_DIGEST_SIZE'
^
SyntaxError: f-string: unmatched '('
Old python versions, presumably <= 3.11, can't resolve these quotes.
Fix it with double quotes for compatibility.
Fixes: 15c64c47e484 ("lib/crypto: tests: Add SHA3 kunit tests")
Signed-off-by: Jie Zhan <zhanjie9@hisilicon.com>
Link: https://lore.kernel.org/r/20260107015829.2000699-1-zhanjie9@hisilicon.com
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
