add md5sum (commit some forgotten changes).
[openwrt.git] / openwrt / package / osiris / patches / 03-openssl-0.9.8+.patch
1 diff -ruN osiris-4.1.9-old/src/osirismd/md_control.c osiris-4.1.9-new/src/osirismd/md_control.c
2 --- osiris-4.1.9-old/src/osirismd/md_control.c 2005-03-24 16:36:07.000000000 +0100
3 +++ osiris-4.1.9-new/src/osirismd/md_control.c 2006-03-28 01:32:32.000000000 +0200
4 @@ -3262,9 +3262,9 @@
5 int index;
6 char checksum[41];
7
8 - SHA_Init( &context );
9 - SHA_Update( &context, key, (unsigned long)keysize );
10 - SHA_Final( &( digest[0] ), &context );
11 + SHA1_Init( &context );
12 + SHA1_Update( &context, key, (unsigned long)keysize );
13 + SHA1_Final( &( digest[0] ), &context );
14
15 for ( index = 0; index < SHA_DIGEST_LENGTH; index++ )
16 {
This page took 0.047778 seconds and 5 git commands to generate.