This commit is contained in:
Mikhail Novosyolov 2020-03-20 11:27:35 +03:00
parent 104da23e60
commit 7eac40b463

View file

@ -225,7 +225,7 @@ Patch202: 0002-Documentation-for-AltHa-LSM.patch
# Other patches
Patch301: objtool-sync-check.sh-set-the-exit-code-explicitly.patch
# sent to upstream
# sent to upstream, https://patchwork.kernel.org/patch/11446123/
Patch302: 0001-sign-file-full-functionality-with-modern-LibreSSL.patch
# Disable AutoReq
@ -1299,11 +1299,11 @@ _libressl_sign(){
-sign "%{certs_signing_key_priv_rnd}" "$f" \
> "${f}.sig"
%{src_dir}/scripts/sign-file -s "${f}.sig" streebog512 \
"%{certs_signing_key_priv_rnd}" "$f"
"%{certs_signing_key_priv_rnd}.GOST" "$f"
rm "${f}.sig"
%else
%{src_dir}/scripts/sign-file sha512 \
"%{certs_signing_key_priv_rnd}" "%{certs_signing_key_priv_rnd}" "$f"
"%{certs_signing_key_priv_rnd}.RSA" "%{certs_signing_key_priv_rnd}.RSA" "$f"
%endif
unset f
}