diff options
author | CoprDistGit <infra@openeuler.org> | 2024-08-06 02:45:36 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-08-06 02:45:36 +0000 |
commit | c4297cc92f8347f0ab4e354c1e15efe11b17c89a (patch) | |
tree | 6ab6eb7729548d1d105c2e5ff5b735d8d8eac979 /librelp-1.10.0-rhbz1972067-relpEngineSetTLSLibByName.patch | |
parent | d30cedf16eb1afb15c783decccba8150ca441b7e (diff) |
automatic import of librelpopeneuler24.03_LTS
Diffstat (limited to 'librelp-1.10.0-rhbz1972067-relpEngineSetTLSLibByName.patch')
-rw-r--r-- | librelp-1.10.0-rhbz1972067-relpEngineSetTLSLibByName.patch | 15 |
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 " |