Commit b61a84c8 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Fix WIN32 warnings.

parent a543ea44
Loading
Loading
Loading
Loading
+1 −1
Changes for ssl/kssl.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -2122,7 +2122,7 @@ krb5_error_code kssl_check_authent(
 		tm_g = gmtime(&now);		tg = mktime(tm_g);
 		tz_offset = tg - tl;

		*atimep = tr - tz_offset;
		*atimep = (krb5_timestamp)(tr - tz_offset);
 		}

#ifdef KSSL_DEBUG
+2 −2
Changes for ssl/s3_srvr.c: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -2080,7 +2080,7 @@ int ssl3_get_client_key_exchange(SSL *s)
		n2s(p,i);
		enc_ticket.length = i;

		if (n < enc_ticket.length + 6)
		if (n < (long)(enc_ticket.length + 6))
			{
			SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,
				SSL_R_DATA_LENGTH_TOO_LONG);
@@ -2093,7 +2093,7 @@ int ssl3_get_client_key_exchange(SSL *s)
		n2s(p,i);
		authenticator.length = i;

		if (n < enc_ticket.length + authenticator.length + 6)
		if (n < (long)(enc_ticket.length + authenticator.length + 6))
			{
			SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE,
				SSL_R_DATA_LENGTH_TOO_LONG);