From 83d23531cd0d748c47d04be48e61a92755ff5b4b Mon Sep 17 00:00:00 2001 From: sthen Date: Mon, 4 Oct 2010 08:46:51 +0000 Subject: [PATCH] fix for openssl --- telephony/kamailio/patches/patch-tls_tls_init_c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 telephony/kamailio/patches/patch-tls_tls_init_c diff --git a/telephony/kamailio/patches/patch-tls_tls_init_c b/telephony/kamailio/patches/patch-tls_tls_init_c new file mode 100644 index 00000000000..b637339e529 --- /dev/null +++ b/telephony/kamailio/patches/patch-tls_tls_init_c @@ -0,0 +1,17 @@ +$OpenBSD: patch-tls_tls_init_c,v 1.1 2010/10/04 08:46:51 sthen Exp $ + +fix for openssl 1.0 + +--- tls/tls_init.c.orig Sun Oct 3 23:42:58 2010 ++++ tls/tls_init.c Sun Oct 3 23:43:44 2010 +@@ -536,8 +536,8 @@ static int check_for_krb(void) + if (xx==NULL) + return -1; + +- for( j=0 ; jcipher_list) ; j++) { +- SSL_CIPHER *yy = (SSL_CIPHER*)M_sk_value(xx->cipher_list,j); ++ for( j=0 ; jcipher_list) ; j++) { ++ SSL_CIPHER *yy = sk_SSL_CIPHER_value(xx->cipher_list,j); + if ( yy->id>=SSL3_CK_KRB5_DES_64_CBC_SHA && + yy->id<=SSL3_CK_KRB5_RC4_40_MD5 ) { + LM_INFO("KRB5 cipher %s found\n", yy->name);