BIO_write and BIO_read could, in theory, return -2.
[openssl.git] / ssl / ssl3.h
index 23375f16eac64996758908ebc60a428c868492e5..2a9714fc19b59a6b3f15f2f645a86e22c970dd9e 100644 (file)
@@ -60,6 +60,8 @@
 #define HEADER_SSL3_H 
 
 #include <openssl/buffer.h>
+#include <openssl/evp.h>
+#include <openssl/ssl.h>
 
 #ifdef  __cplusplus
 extern "C" {
@@ -320,8 +322,9 @@ typedef struct ssl3_ctx_st
 
                /* used to hold the new cipher we are going to use */
                SSL_CIPHER *new_cipher;
+#ifndef NO_DH
                DH *dh;
-
+#endif
                /* used when SSL_ST_FLUSH_DATA is entered */
                int next_state;