Compare commits
10 Commits
036a2758d0
...
96dcd0d786
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
96dcd0d786 | ||
|
|
0ea7ec710a | ||
|
|
c2070791f7 | ||
|
|
9f8697a192 | ||
|
|
61e017ab09 | ||
|
|
8aaa3baf72 | ||
|
|
868cee49a2 | ||
|
|
8121a99511 | ||
|
|
9a817aa691 | ||
|
|
b8f9096d59 |
BIN
librelp-1.11.0.tar.gz
Normal file
BIN
librelp-1.11.0.tar.gz
Normal file
Binary file not shown.
@ -1,28 +0,0 @@
|
||||
diff -up ./src/tcp.c.fix ./src/tcp.c
|
||||
--- ./src/tcp.c.fix 2018-03-26 13:44:07.627189911 +0200
|
||||
+++ ./src/tcp.c 2018-03-26 13:44:51.051915920 +0200
|
||||
@@ -556,23 +556,8 @@ static relpRetVal
|
||||
relpTcpTLSSetPrio(relpTcp_t *const pThis)
|
||||
{
|
||||
int r;
|
||||
- char pristringBuf[4096];
|
||||
- char *pristring;
|
||||
ENTER_RELPFUNC;
|
||||
- /* Compute priority string (in simple cases where the user does not care...) */
|
||||
- if(pThis->pristring == NULL) {
|
||||
- if(pThis->bEnableTLSZip) {
|
||||
- strncpy(pristringBuf, "NORMAL:+ANON-DH:+COMP-ALL", sizeof(pristringBuf));
|
||||
- } else {
|
||||
- strncpy(pristringBuf, "NORMAL:+ANON-DH:+COMP-NULL", sizeof(pristringBuf));
|
||||
- }
|
||||
- pristringBuf[sizeof(pristringBuf)-1] = '\0';
|
||||
- pristring = pristringBuf;
|
||||
- } else {
|
||||
- pristring = pThis->pristring;
|
||||
- }
|
||||
-
|
||||
- r = gnutls_priority_set_direct(pThis->session, pristring, NULL);
|
||||
+ r = gnutls_set_default_priority(pThis->session);
|
||||
if(r == GNUTLS_E_INVALID_REQUEST) {
|
||||
ABORT_FINALIZE(RELP_RET_INVLD_TLS_PRIO);
|
||||
} else if(r != GNUTLS_E_SUCCESS) {
|
||||
Binary file not shown.
13
librelp.spec
13
librelp.spec
@ -1,11 +1,10 @@
|
||||
Name: librelp
|
||||
Version: 1.2.16
|
||||
Release: 3
|
||||
Version: 1.11.0
|
||||
Release: 1
|
||||
Summary: An Easy To Use Library For The RELP Protocol
|
||||
License: GPLv3+
|
||||
URL: http://www.rsyslog.com/
|
||||
Source0: http://download.rsyslog.com/librelp/%{name}-%{version}.tar.gz
|
||||
Patch0001: librelp-1.2.13-crypto-compliance.patch
|
||||
Requires(post): glibc
|
||||
Requires(postun): glibc
|
||||
BuildRequires: gnutls-devel >= 1.4.0
|
||||
@ -28,7 +27,7 @@ for the librelp library.
|
||||
|
||||
%build
|
||||
autoreconf -ivf
|
||||
%configure --disable-static
|
||||
%configure --disable-static --disable-tls-openssl
|
||||
%make_build
|
||||
|
||||
%install
|
||||
@ -51,5 +50,11 @@ autoreconf -ivf
|
||||
%{_libdir}/pkgconfig/relp.pc
|
||||
|
||||
%changelog
|
||||
* Wed Jun 07 2023 wangkai <13474090681@163.com> - 1.11.0-1
|
||||
- Update to 1.11.0
|
||||
|
||||
* Tue Jan 12 2021 xu_ping<xuping33@huawei.com> - 1.2.16-4
|
||||
- remove AM_INIT_AUTOMAKE to fix AM_INIT_AUTOMAKE expanded multiple times
|
||||
|
||||
* Wed Nov 27 2019 gulining<gulining1@huawei.com> - 1.2.16-3
|
||||
- Pakcage init
|
||||
|
||||
4
librelp.yaml
Normal file
4
librelp.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: rsyslog/librelp
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user