diff options
author | Mikle Kolyada <zlogene@gentoo.org> | 2021-05-03 13:29:21 +0300 |
---|---|---|
committer | Mikle Kolyada <zlogene@gentoo.org> | 2021-05-03 13:29:21 +0300 |
commit | 738b94a40903a77b4970807fc6754231719679c5 (patch) | |
tree | 363c8fbeda9f46fb3ff3fbb177e1ff52669cd614 /eclass/ssl-cert.eclass | |
parent | dev-perl/Crypt-SSLeay: remove libressl support (diff) | |
download | gentoo-738b94a40903a77b4970807fc6754231719679c5.tar.gz gentoo-738b94a40903a77b4970807fc6754231719679c5.tar.bz2 gentoo-738b94a40903a77b4970807fc6754231719679c5.zip |
ssl-cert.eclass: remove libressl references
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Diffstat (limited to 'eclass/ssl-cert.eclass')
-rw-r--r-- | eclass/ssl-cert.eclass | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/eclass/ssl-cert.eclass b/eclass/ssl-cert.eclass index a774f9b8b9ec..36945be3cd65 100644 --- a/eclass/ssl-cert.eclass +++ b/eclass/ssl-cert.eclass @@ -46,10 +46,10 @@ esac if [[ "${SSL_DEPS_SKIP}" == "0" ]]; then if [[ "${SSL_CERT_MANDATORY}" == "0" ]]; then - SSL_DEPEND="${SSL_CERT_USE}? ( || ( dev-libs/openssl:0 dev-libs/libressl:0 ) )" + SSL_DEPEND="${SSL_CERT_USE}? ( dev-libs/openssl:0 )" IUSE="${SSL_CERT_USE}" else - SSL_DEPEND="|| ( dev-libs/openssl:0 dev-libs/libressl:0 )" + SSL_DEPEND="dev-libs/openssl:0" fi case "${EAPI}" in @@ -141,12 +141,8 @@ get_base() { gen_key() { local base=$(get_base "$1") ebegin "Generating ${SSL_BITS} bit RSA key${1:+ for CA}" - if openssl version | grep -i libressl > /dev/null; then - openssl genrsa -out "${base}.key" "${SSL_BITS}" &> /dev/null - else openssl genrsa -rand "${SSL_RANDOM}" \ -out "${base}.key" "${SSL_BITS}" &> /dev/null - fi eend $? return $? |