From: Dr. Stephen Henson Date: Mon, 23 May 2005 00:32:55 +0000 (+0000) Subject: Fix WIN32+KRB5 issues. X-Git-Tag: OpenSSL_0_9_8-beta2~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=69762c75fa2247664fed0532295e09050b4bbc86;p=oweals%2Fopenssl.git Fix WIN32+KRB5 issues. --- 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);