The content of this branch was automatically imported from Fedora ELN with the following as its source: https://src.fedoraproject.org/rpms/libkcapi#ba6b846bc343b2bab9fe27b664a4980d5a57c6f4
10 lines
228 B
Bash
10 lines
228 B
Bash
#!/bin/bash
|
|
|
|
# Mocks fipshmac using the openssl tool.
|
|
# Only for use during RPM build.
|
|
|
|
[ "$1" = '-d' ] || exit 1
|
|
|
|
openssl sha256 -hmac orboDeJITITejsirpADONivirpUkvarP -hex "$3" | cut -f 2 -d ' ' \
|
|
>"$2/$(basename "$3").hmac"
|