]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices/1999/000174.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices / 1999 / 000174.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices] MD5 encryption
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20MD5%20encryption&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="000173.html">
11 <LINK REL="Next" HREF="000178.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] MD5 encryption</H1>
15 <B>Mircea Damian</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20MD5%20encryption&In-Reply-To="
17 TITLE="[IRCServices] MD5 encryption">dmircea at kappa.ro
18 </A><BR>
19 <I>Tue Oct 5 02:33:29 PDT 1999</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000173.html">[IRCServices] ChanServ list *
22 </A></li>
23 <LI>Next message: <A HREF="000178.html">[IRCServices] Info about IRC Services
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#174">[ date ]</a>
27 <a href="thread.html#174">[ thread ]</a>
28 <a href="subject.html#174">[ subject ]</a>
29 <a href="author.html#174">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>
35 Hello,
36
37 Here is a small patch to make encryption work for me:
38
39
40 --- encrypt.c.orig Wed Jun 2 10:40:05 1999
41 +++ encrypt.c Mon Oct 4 20:34:57 1999
42 @@ -354,6 +354,10 @@
43
44 if (size &lt; 16)
45 return -1;
46 +
47 + memset(&amp;context, 0, sizeof(context));
48 + memset(&amp;digest, 0, sizeof(digest));
49 +
50 MD5Init(&amp;context);
51 MD5Update(&amp;context, src, len);
52 MD5Final(digest, &amp;context);
53
54 Without this the password authentification will allways fail because the
55 variables aren't initialized to 0.
56
57 I hope it helps.
58
59 Good luck,
60
61 --
62 Mircea Damian
63 E-mails: <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">dmircea at kappa.ro</A>, <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">dmircea at roedu.net</A>
64 WebPage: <A HREF="http://taz.mania.k.ro/~dmircea/">http://taz.mania.k.ro/~dmircea/</A>
65
66 </PRE>
67
68 <!--endarticle-->
69 <HR>
70 <P><UL>
71 <!--threads-->
72 <LI>Previous message: <A HREF="000173.html">[IRCServices] ChanServ list *
73 </A></li>
74 <LI>Next message: <A HREF="000178.html">[IRCServices] Info about IRC Services
75 </A></li>
76 <LI> <B>Messages sorted by:</B>
77 <a href="date.html#174">[ date ]</a>
78 <a href="thread.html#174">[ thread ]</a>
79 <a href="subject.html#174">[ subject ]</a>
80 <a href="author.html#174">[ author ]</a>
81 </LI>
82 </UL>
83
84 </body></html>