Fixed init_ssl() name to init_ssl_to_server()

Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
Janos SUTO
2018-11-03 15:19:08 +01:00
parent 2c3f29db44
commit 78dd67613b
5 changed files with 5 additions and 5 deletions

View File

@ -241,7 +241,7 @@ static void test_smtp_commands_starttls(char *server, int port, struct data *dat
send_smtp_command(data->net, "STARTTLS\r\n", recvbuf, sizeof(recvbuf)-1);
assert(strncmp(recvbuf, "220 ", 4) == 0 && "STARTTLS");
init_ssl(data);
init_ssl_to_server(data);
data->net->use_ssl = 1;
send_helo_command(data->net);