Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2013 21:34:59 +0000
From:      Bernard Treves Brown <bernard.treves.brown@manchester.ac.uk>
To:        "apache@FreeBSD.org" <apache@FreeBSD.org>
Subject:   FreeBSD Port: www/mod_auth_cas
Message-ID:  <CE627E19.4C48C%Bernard.Treves.Brown@manchester.ac.uk>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hi

As noted in: http://yvanrodrigues.com/content/modauthcasso-undefined-symbol-cryptothreadidgetidcallback
There is a problem with compiling the current version of mod-auth-cas, at least with some configs. I had the same problem and the patch suggested seems to work.

A patch file making the suggested change is attached

Yours
Bernard Treves Brown


[-- Attachment #2 --]
--- ./mod_auth_cas.c.orig	2013-09-20 18:36:08.000000000 +0100
+++ ./mod_auth_cas.c	2013-09-20 18:38:48.000000000 +0100
@@ -2024,9 +2024,9 @@
 			CRYPTO_set_id_callback(cas_ssl_id_callback);
 		}
 #else
-		if(CRYPTO_get_locking_callback() == NULL && CRYPTO_THREADID_get_id_callback() == NULL) {
+		if(CRYPTO_get_locking_callback() == NULL && CRYPTO_THREADID_get_callback() == NULL) {
 			CRYPTO_set_locking_callback(cas_ssl_locking_callback);
-			CRYPTO_THREADID_set_id_callback(cas_ssl_id_callback);
+			CRYPTO_THREADID_set_callback(cas_ssl_id_callback);
 		}
 #endif /* OPENSSL_NO_THREADID */
 #endif /* defined(OPENSSL_THREADS) && APR_HAS_THREADS */

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CE627E19.4C48C%Bernard.Treves.Brown>