mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Rouven Czerwinski <r.czerwinski@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Subject: [ptxdist] [PATCH 2/2] opensc: add optional openssl support
Date: Thu,  2 May 2019 11:20:22 +0200	[thread overview]
Message-ID: <20190502092022.16926-2-r.czerwinski@pengutronix.de> (raw)
In-Reply-To: <20190502092022.16926-1-r.czerwinski@pengutronix.de>

Add optional openssl support for X.509 certificate imports.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 rules/opensc.in   | 7 +++++++
 rules/opensc.make | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/rules/opensc.in b/rules/opensc.in
index e42d79259..499f28d3c 100644
--- a/rules/opensc.in
+++ b/rules/opensc.in
@@ -6,6 +6,7 @@ menuconfig OPENSC
 	select READLINE		if OPENSC_READLINE
 	select OPENCT		if OPENSC_OPENCT
 	select PCSC_LITE	if OPENSC_PCSC
+	select OPENSSL		if OPENSC_OPENSSL
 	help
 	  Smart card utilities with support for PKCS#15 compatible cards
 
@@ -33,6 +34,12 @@ endchoice
 config OPENSC_READLINE
 	bool "readline support"
 
+config OPENSC_OPENSSL
+	bool "openssl support"
+	help
+	  Enable OpenSSL support for opensc and tools.
+	  This allows the import of X.509 certificates with pkcs11-tool.
+
 config OPENSC_TOOLS
 	bool "install tools"
 
diff --git a/rules/opensc.make b/rules/opensc.make
index 1eaa1cccd..7682e5ca4 100644
--- a/rules/opensc.make
+++ b/rules/opensc.make
@@ -39,7 +39,7 @@ OPENSC_CONF_OPT := \
 	--sysconfdir=/etc/opensc \
 	--enable-zlib \
 	--$(call ptx/endis,PTXCONF_OPENSC_READLINE)-readline \
-	--disable-openssl \
+	--$(call ptx/endis,PTXCONF_OPENSC_OPENSSL)-openssl \
 	--$(call ptx/endis,PTXCONF_OPENSC_OPENCT)-openct \
 	--$(call ptx/endis,PTXCONF_OPENSC_PCSC)-pcsc \
 	--disable-ctapi \
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2019-05-02  9:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-02  9:20 [ptxdist] [PATCH 1/2] opensc: version bump 0.15.0 → 0.19.0 Rouven Czerwinski
2019-05-02  9:20 ` Rouven Czerwinski [this message]
2019-05-03  7:47   ` [ptxdist] [PATCH 2/2] opensc: add optional openssl support Michael Olbrich
2019-05-03  7:46 ` [ptxdist] [PATCH 1/2] opensc: version bump 0.15.0 → 0.19.0 Michael Olbrich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190502092022.16926-2-r.czerwinski@pengutronix.de \
    --to=r.czerwinski@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox