This commit is contained in:
parent
c2f6fcb4b2
commit
81be38bf3b
16
hmaccalc-susekey.patch
Normal file
16
hmaccalc-susekey.patch
Normal file
@ -0,0 +1,16 @@
|
||||
Index: src/hmac.c
|
||||
===================================================================
|
||||
--- src/hmac.c.orig
|
||||
+++ src/hmac.c
|
||||
@@ -555,9 +555,9 @@ main(int argc, char **argv)
|
||||
"(sha512/sha384/sha256/sha1)\n";
|
||||
#endif
|
||||
|
||||
- /* Default settings: SHA-512, key = "FIPS-FTW-RHT2009". */
|
||||
+ /* Default settings: SHA-512, key = "FIPS-FTW-SUSE2014". */
|
||||
configdir = DEFAULT_CONFIG_DIR;
|
||||
- Kopt = default_key = "FIPS-FTW-RHT2009";
|
||||
+ Kopt = default_key = "FIPS-FTW-SUSE2014";
|
||||
kopt = NULL;
|
||||
copt = NULL;
|
||||
ret = 0;
|
@ -37,6 +37,7 @@ Url: https://fedorahosted.org/hmaccalc/
|
||||
Source0: https://fedorahosted.org/released/hmaccalc/hmaccalc-%{version}.tar.gz
|
||||
Source1: https://fedorahosted.org/released/hmaccalc/hmaccalc-%{version}.tar.gz.sig
|
||||
Source2: %name.keyring
|
||||
Patch1: hmaccalc-susekey.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: mozilla-nss-devel
|
||||
@ -52,6 +53,7 @@ meant to mimic the sha*sum tools provided by the coreutils package.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch1 -p0
|
||||
|
||||
%build
|
||||
%configure --enable-sum-directory=%{_libdir}/%{name}
|
||||
|
Loading…
Reference in New Issue
Block a user