X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=tid%2Fexample%2Ftids_main.c;h=f60ed0bf2d2dba0218e4b96f0df477257a8c91d2;hb=f502c7f223cddccae7a8111c95d3b0c236b7460c;hp=ae373b015ca127d3250b3687da9468b554828871;hpb=4689fdfb8300cd1fbbf24ed58af15a4db97f1578;p=trust_router.git 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);