bk: 4af7dc19ONPl5tsOuXm11fEnp6Q_EA
+* authkeys.c cleanup from Dave Mills.
(4.2.5p241-RC) 2009/11/07 Released by Harlan Stenn <stenn@ntp.org>
* html/authopt.html update from Dave Mills.
* Remove unused file from sntp/Makefile.am's distribution list.
*/
authkeyuncached++;
sk = key_hash[KEYHASH(keyno)];
- while (sk != 0) {
+ while (sk != NULL) {
if (keyno == sk->keyid) {
if (sk->type == 0) {
authkeynotfound++;
return (0);
}
+ break;
}
- break;
-
sk = sk->next;
}
* If the key is not found, or if it is found but not trusted,
* the key is not considered found.
*/
- if (sk == 0) {
+ if (sk == NULL) {
authkeynotfound++;
return (0);