Merge branch 'master' into debian
authorSam Hartman <hartmans@debian.org>
Thu, 26 Mar 2015 01:20:33 +0000 (21:20 -0400)
committerSam Hartman <hartmans@debian.org>
Thu, 26 Mar 2015 01:20:33 +0000 (21:20 -0400)
Fix insert statement

tid/example/tids_main.c
trust_router.spec

index ae373b0..f60ed0b 100644 (file)
@@ -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);
index 69650bd..857091b 100644 (file)
@@ -1,7 +1,7 @@
 %global optflags %{optflags} -Wno-parentheses
 Name:           trust_router
 Version:        1.5.1
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Moonshot Trust Router
 
 Group:          System Environment/Libraries