Add support for automatic ECDH temporary key parameter selection. When
enabled instead of requiring an application to hard code a (possibly
inappropriate) parameter set and delve into EC internals we just
automatically use the preferred curve.
diff --git a/ssl/ssl_cert.c b/ssl/ssl_cert.c
index 6a1c484..a2682da 100644
--- a/ssl/ssl_cert.c
+++ b/ssl/ssl_cert.c
@@ -270,6 +270,7 @@
 			}
 		}
 	ret->ecdh_tmp_cb = cert->ecdh_tmp_cb;
+	ret->ecdh_tmp_auto = cert->ecdh_tmp_auto;
 #endif
 
 	for (i = 0; i < SSL_PKEY_NUM; i++)