|
|
Sponsor |
cvs: pecl /hash hash_haval.c: msg#00169php.pecl.cvs
mike Tue Nov 22 07:24:26 2005 EDT Modified files: /pecl/hash hash_haval.c Log: - avoid segvs http://cvs.php.net/diff.php/pecl/hash/hash_haval.c?r1=1.2&r2=1.3&ty=u Index: pecl/hash/hash_haval.c diff -u pecl/hash/hash_haval.c:1.2 pecl/hash/hash_haval.c:1.3 --- pecl/hash/hash_haval.c:1.2 Mon Nov 21 10:09:57 2005 +++ pecl/hash/hash_haval.c Tue Nov 22 07:24:25 2005 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: hash_haval.c,v 1.2 2005/11/21 15:09:57 mike Exp $ */ +/* $Id: hash_haval.c,v 1.3 2005/11/22 12:24:25 mike Exp $ */ #include "php_hash.h" #include "php_hash_haval.h" @@ -321,7 +321,7 @@ */ PHP_HASH_API void PHP_HAVAL128Final(unsigned char *digest, PHP_HAVAL_CTX * context) { - unsigned char bits[8]; + unsigned char bits[10]; unsigned int index, padLen; /* Version, Passes, and Digest Length */ @@ -375,7 +375,7 @@ */ PHP_HASH_API void PHP_HAVAL160Final(unsigned char *digest, PHP_HAVAL_CTX * context) { - unsigned char bits[8]; + unsigned char bits[10]; unsigned int index, padLen; /* Version, Passes, and Digest Length */ @@ -429,7 +429,7 @@ */ PHP_HASH_API void PHP_HAVAL192Final(unsigned char *digest, PHP_HAVAL_CTX * context) { - unsigned char bits[8]; + unsigned char bits[10]; unsigned int index, padLen; /* Version, Passes, and Digest Length */ @@ -469,7 +469,7 @@ */ PHP_HASH_API void PHP_HAVAL224Final(unsigned char *digest, PHP_HAVAL_CTX * context) { - unsigned char bits[8]; + unsigned char bits[10]; unsigned int index, padLen; /* Version, Passes, and Digest Length */ @@ -510,7 +510,7 @@ */ PHP_HASH_API void PHP_HAVAL256Final(unsigned char *digest, PHP_HAVAL_CTX * context) { - unsigned char bits[8]; + unsigned char bits[10]; unsigned int index, padLen; /* Version, Passes, and Digest Length */
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | cvs: pecl /http config.m4, Michael Wallner |
|---|---|
| Next by Date: | cvs: pecl /oci8 oci8.c oci8_interface.c oci8_statement.c php_oci8_int.h, Antony Dovgal |
| Previous by Thread: | cvs: pecl /http config.m4 php_http_cache_api.h, Michael Wallner |
| Next by Thread: | cvs: pecl /oci8 oci8.c oci8_interface.c oci8_statement.c php_oci8_int.h, Antony Dovgal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|