Skip to content
Tcl Source Code Artifact [1f72c33e57]
Login

Artifact [1f72c33e57]

Artifact 1f72c33e57d15e81e88fcec67219a53aa206a3eb:

Ticket change [1f72c33e57] - New ticket [2986723fffffffff|2986723fff] <i>issue with tcllib sha256 on 64bit systems</i>. by zdia on 2010-04-13 20:21:51.
D 2010-04-13T20:21:51
J assignee hobbs
J cmimetype text/plain
J comment Having\scompiled\sTcltk\son\sa\s64bit\ssystem\sI\scould\snot\sopen\sdatabases\swhich\swere\sencrypted\swith\sthe\ssha256\salgorithm.\sBefore\sI\sused\sonly\s32bit\sversions\sof\sActiveState\sbinaries.\sDebugging\sthe\ssha256.tcl\sfile\sI\sfound\sthe\sreason:\n\nIn\sline\s303-308\sthere\swas\sone\sexpression\swhich\swas\snot\sANDed\sby\s0xffffffff.\sThe\spatched\sline\slooks\snow\slike:\n\nfor\s{set\st\s16}\s{$t\s<\s64}\s{incr\st}\s{\n\s\s\s\s\s\s\s\s\s\s\s\slappend\sW\s[expr\s{([sigma1\s[lindex\s$W\s[incr\st2]]]\s\\\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s+\s[lindex\s$W\s[incr\st7]]\s\\\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s+\s[sigma0\s[lindex\s$W\s[incr\st15]]]\s\\\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s+\s[lindex\s$W\s[incr\st16]])\s&\s0xffffffff}]\n\s\s\s\s\s\s\s\s}\n\nNow\severything\sworks\sfine.\s\n\nZbigniew\sDiaczyszyn\n\n\n\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter zdia
J subsystem 55.\sOther\sTools
J title issue\swith\stcllib\ssha256\son\s64bit\ssystems
J type Patch
K 2986723fffffffffffffffffffffffffffffffff
U zdia
Z cac5468507a0ffa6d7c889793e787186