Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
libprelude
libprelude-fix_compatibility_gnutls_3_6.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libprelude-fix_compatibility_gnutls_3_6.patch of Package libprelude
From: Thomas Andrejak <thomas.andrejak@gmail.com> Date: 2017-10-04 07:00:00 +0100 References: http://prelude-siem.org/issues/911 Upstream: submitted Subject: Fix compatibility with GnuTLS 3.6 --- ./prelude-admin/tls-register.c 2017-07-17 12:03:05.762000000 +0200 +++ ./prelude-admin/tls-register.c2 2017-10-09 09:37:26.874129389 +0200 @@ -409,7 +409,7 @@ goto err; } - ret = gnutls_x509_crt_sign(crt, ca_crt, ca_key); + ret = gnutls_x509_crt_sign2(crt, ca_crt, ca_key, GNUTLS_DIG_SHA256, 0); if ( ret < 0 ) { fprintf(stderr, "error signing certificate: %s.\n", gnutls_strerror(ret)); goto err; @@ -445,7 +445,7 @@ gnutls_x509_crt_set_ca_status(crt, 1); gnutls_x509_crt_set_key_usage(crt, usage); - ret = gnutls_x509_crt_sign(crt, crt, key); + ret = gnutls_x509_crt_sign2(crt, crt, key, GNUTLS_DIG_SHA256, 0); if ( ret < 0 ) { fprintf(stderr, "error self-signing certificate: %s.\n", gnutls_strerror(ret)); gnutls_x509_crt_deinit(crt);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor