Query on test/basic.c::check_pubkey()

Brad Hards bradh at frogmouth.net
Sat Feb 18 02:11:24 CET 2006


In the tests, basic.c has a number of routines, including one that does some 
checks on public keys. The code (around line 1090 in a current svn checkout) 
looks like this:
  for (i = 0; i < sizeof (pubkeys) / sizeof (*pubkeys); i++)
    if (pubkeys[i].id)
      check_one_pubkey (i, pubkeys[i]);

  check_one_pubkey_new (i);

Is that what is really intended? That is, is check_one_pubkey_new() only 
supposed to check the last of pubkeys?

Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20060218/f581aea4/attachment.pgp


More information about the Gcrypt-devel mailing list