Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Sep 2013 16:28:17 +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:  <B9DBC7C2752325409B3C094C1883D6D301440AB4C8@MBXP05.ds.man.ac.uk>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hi

>From in my email on 20th Sept:
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.

Since mod_auth_cas  was updated for other reasons on the same day, I attach a new patch file making the suggested change.

Yours
Bernard Treves Brown

Dr Bernard J. Treves Brown,  Research Fellow
School of Chemical  Engineering and Analytical Science, University of Manchester.
Post: Manchester Interdisciplinary Biocentre, University of Manchester, Oxford Rd,
Manchester, M13 9PL. UK.
Tel: +44 (0) 161-306 8900  (Internal: 68900) Fax: +44 (0) 161-306 5201
Walk: MIB, 131 Princess St, Manchester, M1 7DN.


[-- Attachment #2 --]
--- ./mod_auth_cas.c.orig	2013-09-30 17:18:53.000000000 +0100
+++ ./mod_auth_cas.c	2013-09-30 17:20:32.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 */
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B9DBC7C2752325409B3C094C1883D6D301440AB4C8>