cURL / Mailing Lists / curl-library / Single Mail

curl-library

ssl_version_num missing in curl_version_info_data struct

From: Guenter Knauf <lists_at_gknw.net>
Date: Tue, 28 Oct 2008 03:03:54 +0100

Hi,
I was just on the php_curl extension when I found that the ssl_version_num
gets not populated in the curl_version_info_data struct after calling
curl_version_info():

array(12) {
  ["version_number"]=>
  int(463616)
  ["age"]=>
  int(3)
  ["features"]=>
  int(540)
  ["ssl_version_number"]=>
  int(0)
  ["version"]=>
  string(6) "7.19.0"
  ["host"]=>
  string(20) "i586-pc-libc-NetWare"
  ["ssl_version"]=>
  string(14) "OpenSSL/0.9.8h"
  ["libz_version"]=>
  string(5) "1.2.3"
  ["ares"]=>
  string(0) ""
  ["libidn"]=>
  string(0) ""
  ["libssh_version"]=>
  string(12) "libssh2/0.18"
  ["protocols"]=>
  array(12) {
    [0]=>
    string(4) "tftp"
    [1]=>
    string(3) "ftp"
    [2]=>
    string(6) "telnet"
    [3]=>
    string(4) "dict"
    [4]=>
    string(4) "ldap"
    [5]=>
    string(5) "ldaps"
    [6]=>
    string(4) "http"
    [7]=>
    string(4) "file"
    [8]=>
    string(5) "https"
    [9]=>
    string(4) "ftps"
    [10]=>
    string(3) "scp"
    [11]=>
    string(4) "sftp"
  }
}

I've not checked yet our libcurl code, but probably someone knows already why
this doesnt work?

thanks, Gün.
Received on 2008-10-28