set path to libressl config

This commit is contained in:
Mikhail Novosyolov 2019-12-08 13:07:20 +03:00
parent 622394d230
commit 7cd02bd3a9

View file

@ -469,6 +469,7 @@ unset _gs_beg _gs_end _ls_beg _ls_end _gs_length _ls_length
# and ability to generate GOST R 34.11-12 keys
_pcf pkg-config --libs --cflags libressl-libcrypto
%__cc -o test9 %{SOURCE29} $nflags
export OPENSSL_CONF=%{buildroot}%{_openssldir}/libressl.cnf
$libressl ecparam -genkey -name id-tc26-gost-3410-2012-512-paramSetA -out priv.key -outform PEM
$libressl req -batch -new -x509 -nodes -key priv.key -out pem.pem \
-subj "/C=RU/ST=Russia/L=Oryol/O=Test/OU=Test CA/CN=Test CA Root"