[Announce] new gnupg snapshot

Jan Niehusmann jan at gondor.com
Sat Apr 14 16:35:01 CEST 2001


On Sat, Apr 14, 2001 at 02:35:31PM +0200, Werner Koch wrote:
> I agree that global functions should be tolerate against bad
> parameters and especially in case of a library.  For a normal
> program an assert() is enough; a library should return an error
> code.

It's true that checking for each and every possible bad input value
to an internal function is not needed. But I wonder why fixup_uidnode()
does check for signode==0, but does it after accessing signode->... 
This is completely useless and confusing.

Jan




More information about the Gnupg-devel mailing list