]> www.wagner.pp.ru Git - openssl-gost/engine.git/blob - .ci/build-openssl.sh
initial travis-ci support
[openssl-gost/engine.git] / .ci / build-openssl.sh
1 #!/bin/bash
2 set -eux
3
4 git clone -b ${OPENSSL_BRANCH} https://github.com/openssl/openssl.git
5
6 cd openssl
7 ./config shared --prefix=${PREFIX} --openssldir=${PREFIX}
8 make all install_sw
9
10 cat <<EOF >> ${PREFIX}/openssl.cnf
11 openssl_conf = openssl_def
12
13 [openssl_def]
14 engines = engine_section
15
16 [engine_section]
17 gost = gost_section
18
19 [gost_section]
20 default_algorithms = ALL
21 engine_id = gost
22 CRYPT_PARAMS = id-Gost28147-89-CryptoPro-A-ParamSet
23 EOF