Branch: Tag:

2014-05-21

2014-05-21 15:15:56 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Testsuite: Updated the Async TLS Close test to the new API.

Fixes [LysLysKOM 20825521].

5:   {    string fail;    +  if (argc < 3) { +  werror("Expected at least two arguments.\n"); +  exit(1); +  } +     int clean_close = argv[1] == "1";    int block = argv[2] == "1";   
22:    lambda (int success) {    if (success) {    tlscon = SSL.sslfile (con, SSL.Context()); +  tlscon->connect("localhost");    tlscon->set_write_callback (lambda () {    fail = "Handshake should not succeed.\n";    });