Source: libradsec
Severity: normal
Version: 0.0.5-4
Tags: patch

Hello, the following patch makes the package work with older ssl 
implementations (e.g. on systems where
everything is defaulted to openssl 1.0

./radsecproxy/tlscommon.c
@@ -37,6 +37,10 @@
#include "hostport_types.h"
#include "radsecproxy.h"

+#if OPENSSL_VERSION_NUMBER < 0x10100000L
+#define TLS_method SSLv23_method
+#endif
+
static int pem_passwd_cb(char *buf, int size, int rwflag, void *userdata) {
int pwdlen = strlen(userdata);
if (rwflag != 0 || pwdlen > size) /* not for decryption or too large */

Reply via email to