From 12be2a0a10b3aa3640c36a56e721ee9640989cfd Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Fri, 24 Feb 2017 16:39:05 +0100 Subject: [PATCH] SSL_verify_mode must be a number. (cherry picked from commit 6a2833b9a49bd37106cc59bdddbe66b6d57ab4cf) --- pandora_agents/pc/tentacle_client | 4 ++-- pandora_agents/shellscript/linux/tentacle_client | 4 ++-- pandora_agents/shellscript/mac_osx/tentacle_client | 4 ++-- pandora_agents/unix/tentacle_client | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/pandora_agents/pc/tentacle_client b/pandora_agents/pc/tentacle_client index d0676164ea..02e71e6161 100644 --- a/pandora_agents/pc/tentacle_client +++ b/pandora_agents/pc/tentacle_client @@ -385,7 +385,7 @@ sub start_ssl { SSL_passwd_cb => sub {return $t_ssl_pwd}, SSL_use_cert =>'1', # No authentication - SSL_verify_mode => '0x00', + SSL_verify_mode => 0x00, ); } else { @@ -397,7 +397,7 @@ sub start_ssl { SSL_passwd_cb => sub {return $t_ssl_pwd}, SSL_use_cert =>'1', # Verify peer - SSL_verify_mode => '0x01', + SSL_verify_mode => 0x01, ); } diff --git a/pandora_agents/shellscript/linux/tentacle_client b/pandora_agents/shellscript/linux/tentacle_client index d0676164ea..02e71e6161 100755 --- a/pandora_agents/shellscript/linux/tentacle_client +++ b/pandora_agents/shellscript/linux/tentacle_client @@ -385,7 +385,7 @@ sub start_ssl { SSL_passwd_cb => sub {return $t_ssl_pwd}, SSL_use_cert =>'1', # No authentication - SSL_verify_mode => '0x00', + SSL_verify_mode => 0x00, ); } else { @@ -397,7 +397,7 @@ sub start_ssl { SSL_passwd_cb => sub {return $t_ssl_pwd}, SSL_use_cert =>'1', # Verify peer - SSL_verify_mode => '0x01', + SSL_verify_mode => 0x01, ); } diff --git a/pandora_agents/shellscript/mac_osx/tentacle_client b/pandora_agents/shellscript/mac_osx/tentacle_client index d0676164ea..02e71e6161 100755 --- a/pandora_agents/shellscript/mac_osx/tentacle_client +++ b/pandora_agents/shellscript/mac_osx/tentacle_client @@ -385,7 +385,7 @@ sub start_ssl { SSL_passwd_cb => sub {return $t_ssl_pwd}, SSL_use_cert =>'1', # No authentication - SSL_verify_mode => '0x00', + SSL_verify_mode => 0x00, ); } else { @@ -397,7 +397,7 @@ sub start_ssl { SSL_passwd_cb => sub {return $t_ssl_pwd}, SSL_use_cert =>'1', # Verify peer - SSL_verify_mode => '0x01', + SSL_verify_mode => 0x01, ); } diff --git a/pandora_agents/unix/tentacle_client b/pandora_agents/unix/tentacle_client index 127c3f295f..0cf131c1f9 100755 --- a/pandora_agents/unix/tentacle_client +++ b/pandora_agents/unix/tentacle_client @@ -407,7 +407,7 @@ sub start_ssl { if ($t_ssl_cert eq ''){ IO::Socket::SSL->start_SSL ( $t_socket, - SSL_verify_mode => '0x00', + SSL_verify_mode => 0x00, ); } elsif ($t_ssl_ca eq '') { @@ -418,7 +418,7 @@ sub start_ssl { SSL_passwd_cb => sub {return $t_ssl_pwd}, SSL_use_cert =>'1', # No authentication - SSL_verify_mode => '0x00', + SSL_verify_mode => 0x00, ); } else { @@ -430,7 +430,7 @@ sub start_ssl { SSL_passwd_cb => sub {return $t_ssl_pwd}, SSL_use_cert =>'1', # Verify peer - SSL_verify_mode => '0x01', + SSL_verify_mode => 0x01, ); }