svn rev #24529: trunk/src/include/krb5/

ghudson@MIT.EDU ghudson at MIT.EDU
Mon Nov 22 23:50:41 EST 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24529
Commit By: ghudson
Log Message:
ticket: 6825
subject: Add missing KRB5_CALLCONV in callback declaration
target_version: 1.9
tags: pullup

krb5_get_init_creds_opt_set_expire_callback was correctly tagged with
KRB5_CALLCONV but the corresponding callback type was not.  Add that
in.



Changed Files:
U   trunk/src/include/krb5/krb5.hin
Modified: trunk/src/include/krb5/krb5.hin
===================================================================
--- trunk/src/include/krb5/krb5.hin	2010-11-23 04:41:08 UTC (rev 24528)
+++ trunk/src/include/krb5/krb5.hin	2010-11-23 04:50:40 UTC (rev 24529)
@@ -2381,10 +2381,10 @@
 #define KRB5_FAST_REQUIRED 1l<<0 /*!< Require KDC to support FAST*/
 
 typedef void
-krb5_expire_callback_func(krb5_context context, void *data,
-                          krb5_timestamp password_expiration,
-                          krb5_timestamp account_expiration,
-                          krb5_boolean is_last_req);
+(KRB5_CALLCONV *krb5_expire_callback_func)(krb5_context context, void *data,
+                                           krb5_timestamp password_expiration,
+                                           krb5_timestamp account_expiration,
+                                           krb5_boolean is_last_req);
 
 /**
  * Set a callback to receive password and account expiration times.




More information about the cvs-krb5 mailing list