/*
- * Copyright (C) 2006, 2007 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2006, 2007, 2011 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: gsstest.c,v 1.6.332.1 2011/03/28 05:16:59 marka Exp $ */
+/* $Id: gsstest.c,v 1.6.332.2 2011/03/28 23:45:57 tbox Exp $ */
#include <config.h>
end:
if (query)
dns_message_destroy(&query);
-
+
if (reqev->request)
dns_request_destroy(&reqev->request);
event = isc_event_allocate(mctx, (void *)1, 1, console, NULL,
sizeof(*event));
isc_task_send(task, &event);
- return;
+ return;
}
char output[10 * 1024];
static char host[256];
-
+
isc_event_free(&event);
printf("Query => ");
dns_request_destroy(&reqev->request);
isc_event_free(&event);
-
+
event = isc_event_allocate(mctx, (void *)1, 1, console, NULL,
sizeof(*event));
isc_task_send(task, &event);
sprintf(contextname, "gsstest.context.%d.", (int)time(NULL));
printf("Initctx - context name we're using: %s\n", contextname);
-
+
printf("Negotiating GSSAPI context: ");
printf(gssid);
printf("\n");
/*
* Setup a GSSAPI context with the server
- */
+ */
dns_fixedname_init(&servername);
isc_buffer_init(&buf, contextname, strlen(contextname));
isc_buffer_add(&buf, strlen(contextname));
dns_rootname, ISC_FALSE, NULL);
CHECK("dns_name_fromtext", result);
- /* Make name happen */
+ /* Make name happen */
dns_fixedname_init(&gssname);
isc_buffer_init(&buf, gssid, strlen(gssid));
isc_buffer_add(&buf, strlen(gssid));
isc_sockaddr_fromin(&address, &inaddr, PORT);
return;
}
-
+
}
}
UNUSED(argv);
UNUSED(argc);
-
+
RUNCHECK(isc_app_start());
dns_result_register();
&sock));
setup();
-
+
RUNCHECK(isc_app_onrun(mctx, task, console, NULL));
(void)isc_app_run();
dns_requestmgr_shutdown(requestmgr);
dns_requestmgr_detach(&requestmgr);
-
+
dns_dispatch_detach(&dispatchv4);
dns_dispatchmgr_destroy(&dispatchmgr);
-
+
isc_timermgr_destroy(&timermgr);
isc_task_detach(&task);
/*
- * Copyright (C) 2004-2008 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2008, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000-2002 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
*/
/*
- * $Id: gssapi_link.c,v 1.12.12.1 2011/03/28 05:37:32 marka Exp $
+ * $Id: gssapi_link.c,v 1.12.12.2 2011/03/28 23:45:57 tbox Exp $
*/
#include <config.h>
/*
- * Copyright (C) 2004-2008, 2010 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2008, 2010, 2011 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and/or distribute this software for any
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: gssapictx.c,v 1.12.118.6 2011/03/28 05:24:50 marka Exp $ */
+/* $Id: gssapictx.c,v 1.12.118.7 2011/03/28 23:45:57 tbox Exp $ */
#include <config.h>
/*
- * Copyright (C) 2006-2009 Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2006-2009, 2011 Internet Systems Consortium, Inc. ("ISC")
*
* Permission to use, copy, modify, and/or distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: spnego.c,v 1.8.118.6 2011/03/28 05:10:04 marka Exp $ */
+/* $Id: spnego.c,v 1.8.118.7 2011/03/28 23:45:57 tbox Exp $ */
/*! \file
* \brief