diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2002-03-12 19:37:18 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2002-03-12 19:37:18 +0000 |
commit | cbc9d9713d943c8904100726709871a54a70fc73 (patch) | |
tree | 356c63ce6c8717780868d181baf65c63e25f270f /ssl/kssl.c | |
parent | 98fa4fe8c54a0f717829e894e8c8528c4a8dd4fe (diff) | |
download | openssl-new-cbc9d9713d943c8904100726709871a54a70fc73.tar.gz |
Fix Kerberos warnings with VC++.
Diffstat (limited to 'ssl/kssl.c')
-rw-r--r-- | ssl/kssl.c | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/ssl/kssl.c b/ssl/kssl.c index 04fe2449b2..a3a0596bfd 100644 --- a/ssl/kssl.c +++ b/ssl/kssl.c @@ -128,9 +128,19 @@ #define krb5_decrypt_tkt_part kssl_krb5_decrypt_tkt_part #define krb5_timeofday kssl_krb5_timeofday #define krb5_rc_default kssl_krb5_rc_default + +#ifndef krb5_rc_initialize #define krb5_rc_initialize kssl_krb5_rc_initialize +#endif + +#ifndef krb5_rc_get_lifespan #define krb5_rc_get_lifespan kssl_krb5_rc_get_lifespan +#endif + +#ifndef krb5_rc_destroy #define krb5_rc_destroy kssl_krb5_rc_destroy +#endif + #define valid_cksumtype kssl_valid_cksumtype #define krb5_checksum_size kssl_krb5_checksum_size #define krb5_kt_free_entry kssl_krb5_kt_free_entry @@ -933,7 +943,7 @@ kssl_err_set(KSSL_ERR *kssl_err, int reason, char *text) void print_krb5_data(char *label, krb5_data *kdata) { - unsigned int i; + int i; printf("%s[%d] ", label, kdata->length); for (i=0; i < kdata->length; i++) @@ -978,7 +988,7 @@ print_krb5_authdata(char *label, krb5_authdata **adata) void print_krb5_keyblock(char *label, krb5_keyblock *keyblk) { - unsigned int i; + int i; if (keyblk == NULL) { @@ -1010,8 +1020,7 @@ print_krb5_keyblock(char *label, krb5_keyblock *keyblk) void print_krb5_princ(char *label, krb5_principal_data *princ) { - unsigned int ui, uj; - int i; + int i, ui, uj; printf("%s principal Realm: ", label); if (princ == NULL) return; |