From: Sam Hartman Date: Thu, 26 Mar 2015 01:19:48 +0000 (-0400) Subject: Insert into psk_keys_tab not psk_keys X-Git-Tag: v1.5.1-centos7~2 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=trust_router.git;a=commitdiff_plain;h=f502c7f223cddccae7a8111c95d3b0c236b7460c Insert into psk_keys_tab not psk_keys --- diff --git a/tid/example/tids_main.c b/tid/example/tids_main.c index ae373b0..f60ed0b 100644 --- a/tid/example/tids_main.c +++ b/tid/example/tids_main.c @@ -294,7 +294,7 @@ int main (int argc, exit(1); } sqlite3_busy_timeout( db, 1000); - sqlite3_prepare_v2(db, "insert into psk_keys (keyid, key, client_dh_pub, key_expiration) values(?, ?, ?, ?)", + sqlite3_prepare_v2(db, "insert into psk_keys_tab (keyid, key, client_dh_pub, key_expiration) values(?, ?, ?, ?)", -1, &insert_stmt, NULL); sqlite3_prepare_v2(db, "insert into authorizations (client_dh_pub, coi, acceptor_realm, hostname, apc) values(?, ?, ?, ?, ?)", -1, &authorization_insert, NULL);