Update samples (using 'tlsv1').

This commit is contained in:
Bruno Silvestre
2015-11-12 19:04:37 -02:00
parent 49ea6b8ba6
commit 64faf6322e
30 changed files with 59 additions and 59 deletions

View File

@ -12,7 +12,7 @@ local params = {
certificate = "../certs/clientA.pem",
cafile = "../certs/rootA.pem",
verify = {"peer", "fail_if_no_peer_cert"},
options = {"all", "no_sslv2"},
options = "all",
}
local conn = socket.tcp()

View File

@ -12,7 +12,7 @@ local params = {
certificate = "../certs/serverA.pem",
cafile = "../certs/rootA.pem",
verify = {"peer", "fail_if_no_peer_cert"},
options = {"all", "no_sslv2"},
options = "all",
}
local ctx = assert(ssl.newcontext(params))