Don't set client_version to the ServerHello version.
[openssl.git] / ssl / ssl_locl.h
index 4e307e44c126466ff15ddd74b192e51146d48e73..2e598e3ac55c6d3297b1744cd363c63d2352abb4 100644 (file)
@@ -1250,7 +1250,9 @@ int tls1_set_curves(unsigned char **pext, size_t *pextlen,
                        int *curves, size_t ncurves);
 int tls1_set_curves_list(unsigned char **pext, size_t *pextlen, 
                                const char *str);
+#ifndef OPENSSL_NO_ECDH
 int tls1_check_ec_tmp_key(SSL *s, unsigned long id);
+#endif /* OPENSSL_NO_ECDH */
 #endif /* OPENSSL_NO_EC */
 
 #ifndef OPENSSL_NO_TLSEXT