From d57963e43a8b1d02b908fb05136399e8457a5d35 Mon Sep 17 00:00:00 2001 From: me_desk Date: Fri, 13 Sep 2013 19:41:54 +0000 Subject: switched to TLS 1.2 and DHE-RSA-CAMELLIA256-SHA. DH parameters file is created on first start git-svn-id: svn://localhost/project_picapica/trunk@273 fb96df88-216d-11de-830c-f3023f12d8ac --- PICA_node.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'PICA_node.c') diff --git a/PICA_node.c b/PICA_node.c index e123fce..21f622e 100755 --- a/PICA_node.c +++ b/PICA_node.c @@ -1342,7 +1342,7 @@ if (ret_comm == -1) //PICA_rand_seed(); //#endif -ctx = SSL_CTX_new(TLSv1_method()); +ctx = SSL_CTX_new(TLSv1_2_method()); if (!ctx) PICA_fatal("unable to create SSL_CTX object"); -- cgit v1.2.1