Blame SOURCES/opencryptoki-3.11.1-use-soname.patch

b314eb
From 73f05eb53f12197f081fd7ec75619c6ea3a39b2c Mon Sep 17 00:00:00 2001
b314eb
From: Ingo Franzki <ifranzki@linux.ibm.com>
b314eb
Date: Mon, 12 Aug 2019 10:54:27 +0200
b314eb
Subject: [opencryptoki PATCH 1/2] ICA: Refer libica by its so name
b314eb
MIME-Version: 1.0
b314eb
Content-Type: text/plain; charset=UTF-8
b314eb
Content-Transfer-Encoding: 8bit
b314eb
b314eb
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
b314eb
Signed-off-by: Dan Horák <dan@danny.cz>
b314eb
---
b314eb
 usr/lib/ica_s390_stdll/ica_specific.c | 2 +-
b314eb
 1 file changed, 1 insertion(+), 1 deletion(-)
b314eb
b314eb
diff --git a/usr/lib/ica_s390_stdll/ica_specific.c b/usr/lib/ica_s390_stdll/ica_specific.c
b314eb
index d5a6d554..a72ce774 100644
b314eb
--- a/usr/lib/ica_s390_stdll/ica_specific.c
b314eb
+++ b/usr/lib/ica_s390_stdll/ica_specific.c
b314eb
@@ -61,7 +61,7 @@ const char label[] = "IBM ICA  PKCS #11";
b314eb
 
b314eb
 static pthread_mutex_t rngmtx = PTHREAD_MUTEX_INITIALIZER;
b314eb
 
b314eb
-#define LIBICA_SHARED_LIB "libica.so"
b314eb
+#define LIBICA_SHARED_LIB "libica.so.3"
b314eb
 #define BIND(dso, sym)  (*(void **)(&p_##sym) = dlsym(dso, #sym))
b314eb
 
b314eb
 #ifndef NO_EC
b314eb
-- 
b314eb
2.21.0
b314eb
b314eb
b314eb
From 7f4113ba8653b8b18a6f1af6ab1d8eb90987626d Mon Sep 17 00:00:00 2001
b314eb
From: Ingo Franzki <ifranzki@linux.ibm.com>
b314eb
Date: Mon, 12 Aug 2019 10:54:44 +0200
b314eb
Subject: [opencryptoki PATCH 2/2] EP11: Refer libica by its so name
b314eb
MIME-Version: 1.0
b314eb
Content-Type: text/plain; charset=UTF-8
b314eb
Content-Transfer-Encoding: 8bit
b314eb
b314eb
Signed-off-by: Ingo Franzki <ifranzki@linux.ibm.com>
b314eb
Signed-off-by: Dan Horák <dan@danny.cz>
b314eb
---
b314eb
 usr/lib/ep11_stdll/ep11_specific.c | 2 +-
b314eb
 1 file changed, 1 insertion(+), 1 deletion(-)
b314eb
b314eb
diff --git a/usr/lib/ep11_stdll/ep11_specific.c b/usr/lib/ep11_stdll/ep11_specific.c
b314eb
index 231dd200..a3f14351 100644
b314eb
--- a/usr/lib/ep11_stdll/ep11_specific.c
b314eb
+++ b/usr/lib/ep11_stdll/ep11_specific.c
b314eb
@@ -58,7 +58,7 @@
b314eb
 #include "ep11_specific.h"
b314eb
 
b314eb
 #define EP11SHAREDLIB "libep11.so"
b314eb
-#define ICASHAREDLIB  "libica.so"
b314eb
+#define ICASHAREDLIB  "libica.so.3"
b314eb
 
b314eb
 CK_RV ep11tok_get_mechanism_list(STDLL_TokData_t * tokdata,
b314eb
                                  CK_MECHANISM_TYPE_PTR mlist,
b314eb
-- 
b314eb
2.21.0
b314eb