<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/hashlib2plus/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/hashlib2plus/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/hashlib2plus/bugs/</id><updated>2013-03-13T22:25:33Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>getHashFromFile doesn't work for large files</title><link href="https://sourceforge.net/p/hashlib2plus/bugs/5/" rel="alternate"/><published>2013-03-13T22:25:33Z</published><updated>2013-03-13T22:25:33Z</updated><author><name>xues</name><uri>https://sourceforge.net/u/xues1333/</uri></author><id>https://sourceforge.netcc3fd4b01eb62695a333b195723f369b2205b4a3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The code only reads the first 1024 bytes and hashes that.  Had issue with 2 different files about 9KB in size which had the same 1024 header.  Fix is attached.  Hash now matches apps HxD, HashMyFiles, and lib in C#.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>getHashFromFile does not actually read file</title><link href="https://sourceforge.net/p/hashlib2plus/bugs/4/" rel="alternate"/><published>2010-04-26T16:41:23Z</published><updated>2010-04-26T16:41:23Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net72bcbd2c0e2be0f677e379b2ba3e60339a64e7a8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Used library version: hashlibpp_0_3_2&lt;br /&gt;
The getHashFromFile method does not work correctly under msvc due to known problem with std::istream::readsome function.&lt;br /&gt;
Details could be read here: &lt;a href="http://bytes.com/topic/c/answers/138546-istream-readsome-behavior-g-microsoft-c" rel="nofollow"&gt;http://bytes.com/topic/c/answers/138546-istream-readsome-behavior-g-microsoft-c&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Conflicting Declaration with OpenSSL</title><link href="https://sourceforge.net/p/hashlib2plus/bugs/3/" rel="alternate"/><published>2009-08-21T15:50:44Z</published><updated>2009-08-21T15:50:44Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net32126f9a28440b006aabc2f85524453677ca2a4f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It seems that openssl also typedef SHA256_CTX and SHA512_CTX&lt;/p&gt;
&lt;p&gt;OpenSSL 0.9.8k: sha.h &amp;gt; line 138, 184&lt;br /&gt;
HashLib++ 0.3.1: hl_sha256.h &amp;gt; line 124, 116&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Doesn't produce the correct md5</title><link href="https://sourceforge.net/p/hashlib2plus/bugs/2/" rel="alternate"/><published>2008-11-07T23:50:12Z</published><updated>2008-11-07T23:50:12Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9a1d7cabef7574fb03994822ee28ad70120dc46d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hashwrapper* hashWrapper1=new md5wrapper();&lt;br /&gt;
char test[100];&lt;br /&gt;
strcpy(test,"af3634ec4407c3e6d8bfad850eb0a13486f94a30cd842b876ce9e5e31ce0d7ad40862915552c9eb078a");&lt;br /&gt;
string hashtest=hashWrapper1-&amp;gt;getHashFromString(test);&lt;/p&gt;
&lt;p&gt;MD5 should be: dc79675502b83034f721fcb60a963c74&lt;/p&gt;
&lt;p&gt;It produces: a8a47bb9964e850a70f5d28fc17f9ea7&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>syntax error: unexpected end of file</title><link href="https://sourceforge.net/p/hashlib2plus/bugs/1/" rel="alternate"/><published>2007-11-10T07:48:24Z</published><updated>2007-11-10T07:48:24Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netf7a2612f9249055077e7ddcc9c94accb1dfc2130</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;on make install i received this error. &lt;/p&gt;
&lt;p&gt;cp libhl++.a /usr/lib/ &amp;amp;&amp;amp;&lt;br /&gt;
/bin/sh: -c: line 1: syntax error: unexpected end of file&lt;br /&gt;
make: *** [install] Error 2&lt;/p&gt;
&lt;p&gt;It was easily fixed by adding a \ to the end of "cp libhl++.a /usr/lib/ &amp;amp;&amp;amp; ".&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>