improved error checking and some fixes
[openssl.git] / ssl / d1_clnt.c
index bcf5ebbd3ed737dbfac91f52bd63970e64414787..e426dcf03fd2148aa83e9f1bc8d09cb24ee33adf 100644 (file)
 
 #include <stdio.h>
 #include "ssl_locl.h"
+#include "kssl_lcl.h"
 #include <openssl/buffer.h>
 #include <openssl/rand.h>
 #include <openssl/objects.h>
 #include <openssl/evp.h>
 #include <openssl/md5.h>
+#ifndef OPENSSL_NO_DH
+#include <openssl/dh.h>
+#endif
 
 static SSL_METHOD *dtls1_get_client_method(int ver);
 static int dtls1_get_hello_verify(SSL *s);