summaryrefslogtreecommitdiffstats
path: root/PICA_node.c
diff options
context:
space:
mode:
authorme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2013-09-13 19:41:54 +0000
committerme_desk <me_desk@fb96df88-216d-11de-830c-f3023f12d8ac>2013-09-13 19:41:54 +0000
commitd57963e43a8b1d02b908fb05136399e8457a5d35 (patch)
tree1029833f24ee8f39b58ce6bdbf78b3fa2ac3046c /PICA_node.c
parent5946b4f72bc2f8c70e3ee711b050c0e97287f193 (diff)
downloadpica-pica-d57963e43a8b1d02b908fb05136399e8457a5d35.tar.gz
pica-pica-d57963e43a8b1d02b908fb05136399e8457a5d35.zip
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
Diffstat (limited to 'PICA_node.c')
-rwxr-xr-xPICA_node.c2
1 files changed, 1 insertions, 1 deletions
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");