From cmetz@inner.net  Mon Jul 28 07:49:21 1997
Return-Path: <cmetz@inner.net>
Received: from locke.ccil.org (snark [10.0.2.15])
	by snark.thyrsus.com (8.8.5/8.8.5) with ESMTP id HAA07383
	for <esr>; Mon, 28 Jul 1997 07:49:20 -0400
Received: from inner.net (avarice.inner.net [198.82.204.99])
	by locke.ccil.org (8.8.5/8.8.5) with ESMTP id HAA15362
	for <esr@snark.thyrsus.com>; Mon, 28 Jul 1997 07:44:28 -0500 (EST)
Received: from inner.net (beavis.ipv6.nrl.navy.mil [132.250.90.8.2410])
	by inner.net (8.8.5/8.8.5) with ESMTP id LAA04898
	for <esr@snark.thyrsus.com>; Mon, 28 Jul 1997 11:38:47 GMT
Message-Id: <199707281138.LAA04898@inner.net>
To: "Eric S. Raymond" <esr@snark.thyrsus.com>
Subject: Re: there's a fetchmail ready for you to play with 
In-reply-to: Your message of "Thu, 24 Jul 1997 22:00:49 EDT."
             <199707250200.WAA20334@snark.thyrsus.com> 
X-Copyright: Copyright 1997, Craig Metz, All Rights Reserved.
X-Reposting: With explicit permission only
Date: Mon, 28 Jul 1997 03:39:43 -0400
From: Craig Metz <cmetz@inner.net>
Status: RO

In message <199707250200.WAA20334@snark.thyrsus.com>, you write:
>> 	I think what needs to be done is that I need to get the opieauto stuff
>> and my pile of bug fixes merged into an OPIE 2.4 test tree, make that availa
>ble
>> so testers can play with it and you can build against that, and then we work
>> on fixing #2. Sound reasonable?
>
>Yes.  What kind of time frame?  Should I hold 2.0.3 until you put out 2.4?

	It looks like it's going to be several weeks before I can get to
working on 2.4 (among other things, my hard drive at home recently died, my
most recent backups are missing some stuff, and so I haven't put my CVS tree
back together yet). The enclosed patch (which you can feel free to include
with fetchmail) will make opiegenerator() always return as if opieauto told it
to go get the secret pass phrase. This will make the opieauto logic around
the call to opiegenerator do the right thing.

									-Craig

--- opie-2.31/libopie/generator.c	Mon Mar 17 14:27:10 1997
+++ opie-2.31/libopie/generator.c	Mon Jul 28 03:36:48 1997
@@ -48,12 +48,14 @@
   if ((sequence < 2) || (sequence > 9999))
     return 1;
 
+  if (!secret[0])
+    return 2;
+
   if (opiepasscheck(secret))
     return -2;
 
   if (i = opiekeycrunch(algorithm, key, seed, secret))
     return i;
-
 
   if (sequence < 10) {
     char newseed[OPIE_SEED_MAX + 1];

