mirror of
https://github.com/Yubico/yubikey-val.git
synced 2025-02-01 01:52:18 +01:00
Fix undefined warnings. Solves Issue #8.
This commit is contained in:
parent
3545c4a8c5
commit
f33e6413fe
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* LICENSE:
|
* LICENSE:
|
||||||
*
|
*
|
||||||
* Copyright (c) 2009 Yubico. All rights reserved.
|
* Copyright (c) 2009, 2010 Yubico. All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
* modification, are permitted provided that the following conditions
|
* modification, are permitted provided that the following conditions
|
||||||
@ -56,7 +56,7 @@ class Db
|
|||||||
* @return void
|
* @return void
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public function __construct($db_dsn, $db_username, $db_password, $dp_options, $name='ykval-db')
|
public function __construct($db_dsn, $db_username, $db_password, $db_options, $name='ykval-db')
|
||||||
{
|
{
|
||||||
$this->db_dsn=$db_dsn;
|
$this->db_dsn=$db_dsn;
|
||||||
$this->db_username=$db_username;
|
$this->db_username=$db_username;
|
||||||
|
@ -66,7 +66,7 @@ foreach ($syncParams as $param=>$value) {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
$syncParams[$param]=$value;
|
$syncParams[$param]=$value;
|
||||||
$local_log .= "$param=$value ";
|
$tmp_log .= "$param=$value ";
|
||||||
}
|
}
|
||||||
$myLog->log(LOG_INFO, $tmp_log);
|
$myLog->log(LOG_INFO, $tmp_log);
|
||||||
|
|
||||||
|
@ -159,7 +159,6 @@ class SyncLib
|
|||||||
}
|
}
|
||||||
if ($res) {
|
if ($res) {
|
||||||
$localParams=array('modified'=>$res['modified'],
|
$localParams=array('modified'=>$res['modified'],
|
||||||
'otp'=>$res['otp'],
|
|
||||||
'nonce'=>$res['nonce'],
|
'nonce'=>$res['nonce'],
|
||||||
'active'=>$res['active'],
|
'active'=>$res['active'],
|
||||||
'yk_publicname'=>$yk_publicname,
|
'yk_publicname'=>$yk_publicname,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user