summaryrefslogtreecommitdiffstats
path: root/package/osiris/patches/03-openssl-0.9.8+.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-28 00:05:52 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-03-28 00:05:52 +0000
commitcfbf3d86853f0676c0877ea753f87c70464ea970 (patch)
tree42063e02086812530bec6bc7ecedf39016c081a7 /package/osiris/patches/03-openssl-0.9.8+.patch
parent5c4e01393c84953eb201d10c36398fc319e699b3 (diff)
update osiris to v4.2.0, add mod_if module, add short desc to mod_* patches,
fix openssl-related build issue (could break compatibility). git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@3515 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/osiris/patches/03-openssl-0.9.8+.patch')
-rw-r--r--package/osiris/patches/03-openssl-0.9.8+.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/osiris/patches/03-openssl-0.9.8+.patch b/package/osiris/patches/03-openssl-0.9.8+.patch
new file mode 100644
index 000000000..806cf3afe
--- /dev/null
+++ b/package/osiris/patches/03-openssl-0.9.8+.patch
@@ -0,0 +1,16 @@
+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++ )
+ {