diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2009-04-21 22:20:12 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2009-04-21 22:20:12 +0000 |
commit | 21fb688d264f1c87f1a5bc79dec27bd0f05d3766 (patch) | |
tree | b474aad9e47a2ea88f609a95b5f0625184f23537 /ssl/d1_clnt.c | |
parent | d8faad27b70ccab9aad1a4af815f4d07cc5da1b5 (diff) |
Some fixes for kerberos builds.
Diffstat (limited to 'ssl/d1_clnt.c')
-rw-r--r-- | ssl/d1_clnt.c | 5 |
1 files changed, 4 insertions, 1 deletions
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 <stdio.h> #include "ssl_locl.h" +#ifndef OPENSSL_NO_KRB5 +#include "kssl_lcl.h" +#endif #include <openssl/buffer.h> #include <openssl/rand.h> #include <openssl/objects.h> @@ -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; |