diff --git a/ykval-db.php b/ykval-db.php index 5d2ab77..f1d02b4 100644 --- a/ykval-db.php +++ b/ykval-db.php @@ -6,7 +6,7 @@ * * 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 * modification, are permitted provided that the following conditions @@ -56,7 +56,7 @@ class Db * @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_username=$db_username; diff --git a/ykval-sync.php b/ykval-sync.php index e11c394..155747d 100644 --- a/ykval-sync.php +++ b/ykval-sync.php @@ -66,7 +66,7 @@ foreach ($syncParams as $param=>$value) { exit; } $syncParams[$param]=$value; - $local_log .= "$param=$value "; + $tmp_log .= "$param=$value "; } $myLog->log(LOG_INFO, $tmp_log); diff --git a/ykval-synclib.php b/ykval-synclib.php index c13ccdb..74635fa 100644 --- a/ykval-synclib.php +++ b/ykval-synclib.php @@ -159,7 +159,6 @@ class SyncLib } if ($res) { $localParams=array('modified'=>$res['modified'], - 'otp'=>$res['otp'], 'nonce'=>$res['nonce'], 'active'=>$res['active'], 'yk_publicname'=>$yk_publicname,