]> git.proxmox.com Git - swtpm.git/blob - scripts/test_pcr_bank_list
swtpm_localca: Do not assign pointer to g_strchomp result (Coverity)
[swtpm.git] / scripts / test_pcr_bank_list
1 #!/usr/bin/env bash
2
3 [[ $1 =~ ^(sha1|sha256|sha384|sha512)(,(sha1|sha256|sha384|sha512)){0,3}$ ]] \
4 && exit 0
5 exit 1