Article View: news.software.nntp
Article #66457libcanlock update
From: iMeowbot
Date: Sun, 10 Aug 2003 23:54
Date: Sun, 10 Aug 2003 23:54
36 lines
2844 bytes
2844 bytes
A new version of the libcanlock library is available. It's supposed to
be backward compatible with the 1998 release, I'm sure I'll find out
soon enough if this isn't so.
The library was originally supposed to be a sort of disposable proof of
concept thing, but since it found its way into various real programs it
needed a bit of maintenance.
Download it from http://homepage.mac.com/imeowbot/canlock2.tar.gz
In theory, it should be a drop-in replacement for the old one. In
theory.
All included files should have painless licenses (all BSD and MIT, no
GPL or patent warnings).
Here are the essential changes:
- Replaced the SHA-1 library with the source code from RFC 1374.
The old code had problems on PowerPC that I was too lazy to
hunt down and fix. [NOTE: the code in the RFC depends on
<stdint.h> which is still a bit too recent to really be
portable. Reasonable alternatives have been added to
include/sha1.h, you probably want to look here first if your
make test fails.]
- Replaced the ISC version of Base64 with an implementation
produced by Sweden's Royal Institute of Technology (KTH). The
old functions carried a weird patent disclaimer from IBM, while
the new ones use a nice simple non-scary BSD license.
- The md5_key(), md5_lock() and md5_verify() functions have been
removed. As far as I can tell they weren't being used.
- Added a Makefile instead of the Build thingy.
- Did a bunch of cleanup to get rid of various warnings.
Technical Details
Message-ID:
<iMeowbot-B74B45.19544410082003@news.verizon.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny02.gnilink.net.POSTED!53ab2750!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <iMeowbot-B74B45.19544410082003@news.verizon.net>
Subject: libcanlock update
Date: Sun, 10 Aug 2003 23:54:44 GMT
From: iMeowbot <iMeowbot@mac.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!news5.aus1.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!small1.nntp.aus1.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny02.gnilink.net.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.nntp
Mail-Copies-To: nobody
Organization: uJane
User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X)
X-Meow: Wouf
X-No-Repost: yes
Injector-Info: http://www.halfbakery.com/idea/Tarantula_20injector
X-Face: ')Fflcs!^R}Ds420ESFBO$}^v}i=A9jhnT\3.x#V)XnBrjF8FDwO).{#sN<#bI#A0Y-IU>I
iz^}DhL#8nvP8, Ef*_4tdZUl#gwDK=7]>l"53tML>J1S8!)4vsDuy8j0]Rx
Lines: 36
NNTP-Posting-Host: 141.157.184.134
X-Complaints-To: abuse@verizon.net
X-Trace: nwrdny02.gnilink.net 1060559684 141.157.184.134 (Sun,
NNTP-Posting-Date: Sun, 10 Aug 2003 19:54:44 EDT