[Git][NTPsec/ntpsec][master] Fix small error in new authkeys code revealed by regression tests.

Eric S. Raymond gitlab at mg.gitlab.com
Sun Sep 25 18:13:12 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
b5f049bf by Eric S. Raymond at 2016-09-25T14:12:49-04:00
Fix small error in new authkeys code revealed by regression tests.

- - - - -


1 changed file:

- libntp/authkeys.c


Changes:

=====================================
libntp/authkeys.c
=====================================
--- a/libntp/authkeys.c
+++ b/libntp/authkeys.c
@@ -449,6 +449,7 @@ authtrust(
 		 */
 		if (trust) {
 			sk->flags |= KEY_TRUSTED;
+			return;
 		}
 
 		/* No longer trusted, return it to the free list. */



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/b5f049bf4a6271d771d4d871e3693ec1ca8fd594
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160925/b35485b8/attachment.html>


More information about the vc mailing list