* Copyright 2005,2006 TRI-D Systems, Inc.
*/
-#include "ident.h"
+#include <freeradius-devel/ident.h>
RCSID("$Id$")
-#include <freeradius-devel/autoconf.h>
#include <freeradius-devel/radiusd.h>
#include <freeradius-devel/modules.h>
#include "extern.h"
#include "otp.h"
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <sys/types.h>
-#include <time.h>
-#include <netinet/in.h> /* htonl(), ntohl() */
-
/* Global data */
static unsigned char hmac_key[16]; /* to protect State attribute */
static int ninstance = 0; /* #instances, for global init */
{
otp_option_t *inst = (otp_option_t *) instance;
- free(inst->otpd_rp);
- free(inst->chal_prompt);
free(instance);
/*
* Only the main thread instantiates and detaches instances,