From 69762c75fa2247664fed0532295e09050b4bbc86 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Mon, 23 May 2005 00:32:55 +0000 Subject: [PATCH] Fix WIN32+KRB5 issues. --- ssl/d1_clnt.c | 1 + ssl/s3_srvr.c | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c index bcf5ebbd3e..0f840f439d 100644 --- a/ssl/d1_clnt.c +++ b/ssl/d1_clnt.c @@ -115,6 +115,7 @@ #include #include "ssl_locl.h" +#include "kssl_lcl.h" #include #include #include diff --git a/ssl/s3_srvr.c b/ssl/s3_srvr.c index 4b1931a71f..29cb2170e6 100644 --- a/ssl/s3_srvr.c +++ b/ssl/s3_srvr.c @@ -1886,7 +1886,7 @@ int ssl3_get_client_key_exchange(SSL *s) n2s(p,i); enc_ticket.length = i; - if (n < enc_ticket.length + 6) + if (n < (int)enc_ticket.length + 6) { SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE, SSL_R_DATA_LENGTH_TOO_LONG); @@ -1899,7 +1899,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 < (int)(enc_ticket.length + authenticator.length) + 6) { SSLerr(SSL_F_SSL3_GET_CLIENT_KEY_EXCHANGE, SSL_R_DATA_LENGTH_TOO_LONG); -- 2.25.1