libpurple/certificate.c

branch
soc.2007.certmgr
changeset 19007
f3c3ddf37812
parent 19003
0998b8659565
child 19015
2e55af5c1242
--- a/libpurple/certificate.c	Wed Aug 01 07:39:38 2007 +0000
+++ b/libpurple/certificate.c	Fri Aug 03 06:12:42 2007 +0000
@@ -244,17 +244,8 @@
 	   this? */
 	g_return_val_if_fail( (activation != NULL) || (expiration != NULL), FALSE);
 
-	/* Fulfill the caller's requests, if possible */
-	if (activation) {
-		g_return_val_if_fail(scheme->get_activation, FALSE);
-		*activation = scheme->get_activation(crt);
-	}
-	if (expiration) {
-		g_return_val_if_fail(scheme->get_expiration, FALSE);
-		*expiration = scheme->get_expiration(crt);
-	}
-
-	return TRUE;
+	/* Throw the request on down to the certscheme */
+	return (scheme->get_times)(crt, activation, expiration);
 }
 
 

mercurial