Commit Graph

10 Commits

Author SHA1 Message Date
Cropi
d2886fda66 backport: fix SSL_CONF_cmd/SSL_new ordering in OpenSSL client connect path
relpTcpConnectTLSInit_ossl() called SSL_new() before applying
tls.tlscfgcmd via relpTcpSetSslConfCmd_ossl(), so the SSL object
inherited the default group list from SSL_CTX instead of the
administrator-configured one.  Move sslState = osslClient and
relpTcpSetSslConfCmd_ossl() to before SSL_new() so the SSL object
snapshots the correctly configured SSL_CTX.

Backport: 9bf89ca142

Resolves: RHEL-192631
Signed-off-by: Cropi <alakatos@redhat.com>
2026-07-15 09:16:38 +02:00
Cropi
5f55fd53ee backport: fix OpenSSL fd double-close in TLS teardown
Backport https://github.com/rsyslog/librelp/pull/292

Move relpTcpDestructTLS() before the socket close so SSL_shutdown()
can send the close_notify on a valid fd. Change BIO_new_socket()
from BIO_CLOSE to BIO_NOCLOSE so SSL_free() does not close the fd
a second time via the BIO destructor. Add conn = NULL after
SSL_set_bio() to prevent the error-path use-after-free.

Resolves: RHEL-192630
Signed-off-by: Cropi <alakatos@redhat.com>
2026-07-09 13:09:41 +02:00
alakatos
4cbbbc8ee1 Rebuild
resolves: rhbz#2227723
2023-08-02 13:59:28 +02:00
alakatos
3b12aabe3c Enable openssl
Replace GNUTLS_SHUT_RDWR by GNUTLS_SHUT_WR when ending TLS connections
  resolves: rhbz#1990735
Comply with rhel crypto policies
Forward return code from relpEngineSetTLSLib to relpEngineSetTLSLibByName
  resolves: rhbz#1972067
2021-08-17 10:39:03 +02:00
Mohan Boddu
f593723fce Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-08-09 21:40:55 +00:00
Mohan Boddu
8b2be43ba3 - Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2021-04-16 01:33:27 +00:00
DistroBaker
5bc4e46bca Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/librelp.git#9c30c77069dd718cdad2cd6e8de77746ca461999
2021-03-19 10:30:34 +00:00
DistroBaker
78ebbea29e Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/librelp.git#407def030d1518fc8938e08d0516daf907db429f
2021-02-04 11:38:22 +01:00
DistroBaker
96610e8fa8 Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/librelp.git#facb5613cff028b9aad82e4b1636aea89283576e
2020-11-25 11:00:36 +00:00
Petr Šabata
d6f1d77abf RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/librelp#270de40cbdc92566a858e331074aa6af9dc4bee6
2020-10-15 17:05:55 +02:00