From 21fb688d264f1c87f1a5bc79dec27bd0f05d3766 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 21 Apr 2009 22:20:12 +0000 Subject: Some fixes for kerberos builds. --- ssl/d1_clnt.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'ssl/d1_clnt.c') diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c index b2ed383c34..0ad96dc3cd 100644 --- a/ssl/d1_clnt.c +++ b/ssl/d1_clnt.c @@ -115,6 +115,9 @@ #include #include "ssl_locl.h" +#ifndef OPENSSL_NO_KRB5 +#include "kssl_lcl.h" +#endif #include #include #include @@ -892,7 +895,7 @@ int dtls1_send_client_key_exchange(SSL *s) sizeof tmp_buf); EVP_EncryptFinal_ex(&ciph_ctx,&(epms[outl]),&padl); outl += padl; - if (outl > sizeof epms) + if (outl > (int)sizeof epms) { SSLerr(SSL_F_DTLS1_SEND_CLIENT_KEY_EXCHANGE, ERR_R_INTERNAL_ERROR); goto err; -- cgit v1.2.3