Blob Blame History Raw
From 29c3157a895e8c6428100a3c0229fb405a978137 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
Date: Wed, 17 Jan 2018 13:52:02 +0100
Subject: [PATCH] switch to ibmca.so filename to allow a standalone use
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Dan HorĂ¡k <dan@danny.cz>
---
 src/Makefile.am        | 10 +++++-----
 src/openssl.cnf.sample |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index 58e7f4e..ff27458 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,10 +1,10 @@
-lib_LTLIBRARIES=libibmca.la
+lib_LTLIBRARIES=ibmca.la
 
-libibmca_la_SOURCES=e_ibmca.c e_ibmca_err.c
-libibmca_la_LIBADD=-ldl
-libibmca_la_LDFLAGS=-module -version-info 0:2:0 -shared -no-undefined -avoid-version
+ibmca_la_SOURCES=e_ibmca.c e_ibmca_err.c
+ibmca_la_LIBADD=-ldl
+ibmca_la_LDFLAGS=-module -version-info 0:2:0 -shared -no-undefined -avoid-version
 
-dist_libibmca_la_SOURCES=e_ibmca_err.h e_os.h cryptlib.h
+dist_ibmca_la_SOURCES=e_ibmca_err.h e_os.h cryptlib.h
 EXTRA_DIST = openssl.cnf.sample
 
 ACLOCAL_AMFLAGS = -I m4
diff --git a/src/openssl.cnf.sample b/src/openssl.cnf.sample
index 0094864..e483686 100644
--- a/src/openssl.cnf.sample
+++ b/src/openssl.cnf.sample
@@ -23,7 +23,7 @@ ibmca = ibmca_section
 # The openssl engine path for libibmca.so.
 # Set the dynamic_path to where the libibmca.so engine
 # resides on the system.
-dynamic_path = /usr/local/lib/libibmca.so
+dynamic_path = /usr/local/lib/ibmca.so
 engine_id = ibmca
 init = 1