File ntp-sntp-a.patch of Package ntp.4455

--- sntp/main.c.orig
+++ sntp/main.c
@@ -379,7 +379,6 @@ handle_lookup(
 {
 	struct addrinfo	hints;	/* Local copy is OK */
 	struct dns_ctx *ctx;
-	long		l;
 	char *		name_copy;
 	size_t		name_sz;
 	size_t		octets;
@@ -407,9 +406,8 @@ handle_lookup(
 	ctx->timeout = response_tv;
 
 	/* The following should arguably be passed in... */
-	if (ENABLED_OPT(AUTHENTICATION) &&
-	    atoint(OPT_ARG(AUTHENTICATION), &l)) {
-		ctx->key_id = l;
+	if (ENABLED_OPT(AUTHENTICATION)) {
+		ctx->key_id = OPT_VALUE_AUTHENTICATION;
 		get_key(ctx->key_id, &ctx->key);
 	} else {
 		ctx->key_id = -1;