.
D 2019-03-10T21:25:58.463
J foundin 1.7.16
J icomment In\stcltls-1.7.16\sthe\scommand\stls::status\sis\ssupposed\sto\sreturn\skey-value\spairs\sdescribing\sthe\sconnected\speer.\s\s\r\nIt\sdoes\sthis\showever,\sthere\sis\sa\sdifference\sin\swhat\sis\sreturned\sthat\sis\splatform\sdependent.\sThe\sdifference\s\r\nis\sassociated\swith\sthe\svalue\srelated\sto\sthe\s"certificate"\skey\swithin\sthe\slist.\r\n\r\nThe\ssection\sof\scode\sthat\sproduces\sthe\s"defective"\svalue\sin\sthe\slist\sis\sin\sthe\sfollowing\ssection\sof\stlsX509.c\r\n\r\n\s\s\s\sTcl_ListObjAppendElement(\sinterp,\scertPtr,\r\n\t\s\s\s\sTcl_NewStringObj(\s"certificate",\s-1)\s);\r\n\s\s\s\sTcl_ListObjAppendElement(\sinterp,\scertPtr,\r\n\t\s\s\s\sTcl_NewStringObj(\scertStr,\s-1)\s);\r\n\r\nIn\sa\sLinux\senvironment\sthe\sfull\sstring\sof\sthe\scertificate\sis\sreturned\sas\sexpected.\s\sIn\sa\swindows\senvironment,\r\nthe\scertificate\sis\struncated\s(I\sthink\sthe\sreturned\svalue\sis\sconsistently\struncated\sto\s1040\scharacters).\r\n\r\nUnfortunately,\sI\sdo\snot\shave\sthe\sknowledge/skills\sto\sdebug\sthis\sbut\sthought\sit\swas\ssignificant\senough\sto\sreport.\r\nI\swould\sexpect\sthe\sbehavior\sof\sthis\slibrary\sto\sbe\sthe\ssame\sdespite\sthe\splatform.\r\n\r\nThis\swas\stested/confirmed\swith\sdifferent\sversions\sof\sopenssl(1.0.2),\sLinux,\sand\sWindows.
J login anonymous
J mimetype text/x-fossil-plain
J private_contact 0417dc32d04a6114b5b24db4b8fef85dbf18dde5
J severity Severe
J status Open
J title tls::status\sreturn\svalue\sdiffers\sdepending\son\splatform\sin\suse.
J type Code\sDefect
K 2059171e7d45ad24bc4e649c71d4aa5fce4a709e
U anonymous
Z bed6d52840d3cf9255f7f1de3acb8515