mech-otp-skey-common.c revision a10ed8c47534b4c6b6bf2711ccfe577e720a47b4
/*
* Common code for OTP and SKEY authentication mechanisms.
*
* Copyright (c) 2006 Andrey Panin <pazke@donpac.ru>
*
* This software is released under the MIT license.
*/
#include "auth-common.h"
#include "hash.h"
#include "mech.h"
#include "otp.h"
#include "mech-otp-skey-common.h"
static struct hash_table *otp_lock_table;
void otp_lock_init(void)
{
if (otp_lock_table != NULL)
return;
128, strcase_hash,
}
{
return FALSE;
return TRUE;
}
{
struct otp_auth_request *request =
(struct otp_auth_request *)auth_request;
return;
}
void otp_set_credentials_callback(bool success,
struct auth_request *auth_request)
{
if (success)
else {
}
}
{
}