From 8a36a9c42b6c327056ca334d556c221c28375d15 Mon Sep 17 00:00:00 2001
From: Rob Austein <sra@hactrn.net>
Date: Sat, 3 Sep 2016 02:27:09 -0400
Subject: Hack PKCS #11 to work with revised libhal pkey API.

---
 schema.sql | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'schema.sql')

diff --git a/schema.sql b/schema.sql
index 9de8ce2..1db361c 100644
--- a/schema.sql
+++ b/schema.sql
@@ -78,7 +78,7 @@ CREATE TEMPORARY TABLE IF NOT EXISTS object (
 CREATE TEMPORARY TABLE IF NOT EXISTS session_object (
         session_object_id       INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
         hal_pkey_type           INTEGER,
-        hal_pkey_ski            BLOB,
+        hal_pkey_uuid           BLOB,
         object_id               INTEGER NOT NULL UNIQUE
                                 REFERENCES object
                                 ON DELETE CASCADE ON UPDATE CASCADE
@@ -96,7 +96,7 @@ CREATE TEMPORARY TABLE IF NOT EXISTS session_attribute (
 CREATE TABLE IF NOT EXISTS token_object (
         token_object_id         INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL,
         hal_pkey_type           INTEGER,
-        hal_pkey_ski            BLOB
+        hal_pkey_uuid           BLOB
 );
 
 CREATE TABLE IF NOT EXISTS token_attribute (
-- 
cgit v1.2.3

