🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by iMeowbot Sun, 10 Aug 2003 23:54
libcanlock update
#66457
Author: iMeowbot
Date: Sun, 10 Aug 2003 23:54
36 lines
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.
Re: libcanlock update
#66464
Author: iMeowbot
Date: Mon, 11 Aug 2003 20:56
13 lines
1870 bytes
In article <iMeowbot-B74B45.19544410082003@news.verizon.net>,
 iMeowbot <iMeowbot@mac.com> wrote:

> 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.

Same thing, with just a small makefile update to appease Tru64's 
compiler is here: http://homepage.mac.com/imeowbot/canlock2a.tar.gz

Works on the Alphas, Itanics an PA-RISC toys on the hewlett-digipaq 
farm, plus FreeBSD and OS X junk hanging around here, so hopefully that 
means all the evil nonportable hashing stuff has truly been exorcised.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads