diff --git a/libressl.spec b/libressl.spec index 7e4b989..2cb2980 100644 --- a/libressl.spec +++ b/libressl.spec @@ -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"