summaryrefslogtreecommitdiff
path: root/librelp-1.10.0-rhbz1972067-relpEngineSetTLSLibByName.patch
diff options
context:
space:
mode:
Diffstat (limited to 'librelp-1.10.0-rhbz1972067-relpEngineSetTLSLibByName.patch')
-rw-r--r--librelp-1.10.0-rhbz1972067-relpEngineSetTLSLibByName.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/librelp-1.10.0-rhbz1972067-relpEngineSetTLSLibByName.patch b/librelp-1.10.0-rhbz1972067-relpEngineSetTLSLibByName.patch
new file mode 100644
index 0000000..89493d3
--- /dev/null
+++ b/librelp-1.10.0-rhbz1972067-relpEngineSetTLSLibByName.patch
@@ -0,0 +1,15 @@
+diff -up librelp-1.10.0/src/relp.c.orig librelp-1.10.0/src/relp.c
+--- librelp-1.10.0/src/relp.c.orig 2021-08-17 08:33:12.416786299 +0200
++++ librelp-1.10.0/src/relp.c 2021-08-17 08:33:45.070119507 +0200
+@@ -385,9 +385,9 @@ relpEngineSetTLSLibByName(relpEngine_t *
+ }
+
+ if(!strcasecmp(name, "gnutls")) {
+- relpEngineSetTLSLib(pThis, RELP_USE_GNUTLS);
++ CHKRet(relpEngineSetTLSLib(pThis, RELP_USE_GNUTLS));
+ }else if(!strcasecmp(name, "openssl")) {
+- relpEngineSetTLSLib(pThis, RELP_USE_OPENSSL);
++ CHKRet(relpEngineSetTLSLib(pThis, RELP_USE_OPENSSL));
+ } else {
+ relpEngineCallOnGenericErr(pThis, "librelp", RELP_RET_PARAM_ERROR,
+ "invalid tls lib '%s' requested; this version of "