diff --git a/libressl.spec b/libressl.spec index eacd55c..0a381a9 100644 --- a/libressl.spec +++ b/libressl.spec @@ -641,11 +641,11 @@ unset _gs_beg _gs_end _ls_beg _ls_end _gs_length _ls_length _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 ecparam -genkey -name id-tc26-gost-3410-12-512-paramSetA -out priv.key -outform PEM $libressl req -batch -new -x509 -nodes -key priv.key -out pem1.pem \ -subj "/C=RU/ST=Russia/L=Oryol/O=Test/OU=Test CA/CN=Test CA Root" # Also possible to gen a new key and a certificate in one command: -# libressl req <...> -newkey ec -pkeyopt ec_paramgen_curve:id-tc26-gost-3410-2012-512-paramSetA +# libressl req <...> -newkey ec -pkeyopt ec_paramgen_curve:id-tc26-gost-3410-12-512-paramSetA # Signature Algorithm: ecdsa-with-SHA256 $libressl x509 -in pem1.pem -text -noout | grep -E 'Signature Algorithm:.*ecdsa-with-SHA256' $libressl req -new -nodes -utf8 -batch -x509 -newkey gost2001 \