Rename ssl_legacy_renegotiation() to ssl_set_...
diff --git a/programs/ssl/ssl_server2.c b/programs/ssl/ssl_server2.c
index 17aa9ff..68fc81e 100644
--- a/programs/ssl/ssl_server2.c
+++ b/programs/ssl/ssl_server2.c
@@ -1664,7 +1664,7 @@
}
if( opt.allow_legacy != DFL_ALLOW_LEGACY )
- mbedtls_ssl_legacy_renegotiation( &conf, opt.allow_legacy );
+ mbedtls_set_ssl_legacy_renegotiation( &conf, opt.allow_legacy );
#if defined(MBEDTLS_SSL_RENEGOTIATION)
mbedtls_ssl_set_renegotiation( &conf, opt.renegotiation );