mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 12:20:36 +02:00
cfbf3d8685
fix openssl-related build issue (could break compatibility). git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3515 3c298f89-4303-0410-b956-a3cf2f4a3e73
17 lines
735 B
Diff
17 lines
735 B
Diff
diff -ruN osiris-4.1.9-old/src/osirismd/md_control.c osiris-4.1.9-new/src/osirismd/md_control.c
|
|
--- osiris-4.1.9-old/src/osirismd/md_control.c 2005-03-24 16:36:07.000000000 +0100
|
|
+++ osiris-4.1.9-new/src/osirismd/md_control.c 2006-03-28 01:32:32.000000000 +0200
|
|
@@ -3262,9 +3262,9 @@
|
|
int index;
|
|
char checksum[41];
|
|
|
|
- SHA_Init( &context );
|
|
- SHA_Update( &context, key, (unsigned long)keysize );
|
|
- SHA_Final( &( digest[0] ), &context );
|
|
+ SHA1_Init( &context );
|
|
+ SHA1_Update( &context, key, (unsigned long)keysize );
|
|
+ SHA1_Final( &( digest[0] ), &context );
|
|
|
|
for ( index = 0; index < SHA_DIGEST_LENGTH; index++ )
|
|
{
|