svn commit: lorikeet r600 - in trunk/heimdal/lib/des: .

lha at samba.org lha at samba.org
Thu Oct 19 11:37:39 GMT 2006


Author: lha
Date: 2006-10-19 11:37:39 +0000 (Thu, 19 Oct 2006)
New Revision: 600

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=600

Log:
merge from heimdal cvs - Does function typecasts instead of void * type-casts.
Modified:
   trunk/heimdal/lib/des/engine.c


Changeset:
Modified: trunk/heimdal/lib/des/engine.c
===================================================================
--- trunk/heimdal/lib/des/engine.c	2006-10-19 11:37:22 UTC (rev 599)
+++ trunk/heimdal/lib/des/engine.c	2006-10-19 11:37:39 UTC (rev 600)
@@ -35,7 +35,7 @@
 #include <config.h>
 #endif
 
-RCSID("$Id: engine.c,v 1.9 2006/05/07 11:40:31 lha Exp $");
+RCSID("$Id: engine.c,v 1.10 2006/10/19 11:22:33 lha Exp $");
 
 #include <stdio.h>
 #include <stdlib.h>
@@ -257,7 +257,7 @@
 	unsigned long version;
 	openssl_v_check v_check;
 
-	v_check = dlsym(handle, "v_check");
+	v_check = (openssl_v_check)dlsym(handle, "v_check");
 	if (v_check == NULL) {
 	    dlclose(handle);
 	    free(engine);
@@ -275,7 +275,7 @@
     {
 	openssl_bind_engine bind_engine;
 
-	bind_engine = dlsym(handle, "bind_engine");
+	bind_engine = (openssl_bind_engine)dlsym(handle, "bind_engine");
 	if (bind_engine == NULL) {
 	    dlclose(handle);
 	    free(engine);



More information about the samba-cvs mailing list