Add missing KRB5_CALLCONV in callback declaration
authorGreg Hudson <ghudson@mit.edu>
Tue, 23 Nov 2010 04:50:40 +0000 (04:50 +0000)
committerGreg Hudson <ghudson@mit.edu>
Tue, 23 Nov 2010 04:50:40 +0000 (04:50 +0000)
krb5_get_init_creds_opt_set_expire_callback was correctly tagged with
KRB5_CALLCONV but the corresponding callback type was not.  Add that
in.

ticket: 6825
target_version: 1.9
tags: pullup

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24529 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/krb5.hin

index e04cf3b1123688a23f4bf18ad2280fbdfb855aed..51d7d728da49cf8dd32ac897542321d072f31b8c 100644 (file)
@@ -2381,10 +2381,10 @@ krb5_get_init_creds_opt_get_fast_flags(krb5_context context,
 #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.