From 307a77f6a5127c1ae7b08794ea0db07ffb9275c6 Mon Sep 17 00:00:00 2001
From: David Sommerseth <dazo@users.sourceforge.net>
Date: Sun, 24 Aug 2008 21:35:48 +0200
Subject: Merged in SHA1 to SHA512 patch from master branch

---
 database/sqlite/sql-schema.sql | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'database/sqlite/sql-schema.sql')

diff --git a/database/sqlite/sql-schema.sql b/database/sqlite/sql-schema.sql
index 6ce39c7..a8f9168 100644
--- a/database/sqlite/sql-schema.sql
+++ b/database/sqlite/sql-schema.sql
@@ -11,7 +11,7 @@ CREATE UNIQUE INDEX opevpn_certificates_digest ON openvpn_certificates(digest);
 
 CREATE TABLE openvpn_users (
        username      varchar(32)  NOT NULL,
-       password      varchar(64)  NOT NULL,
+       password      varchar(128)  NOT NULL,
        activated     timestamp    ,
        deactivated   timestamp    ,
        last_accessed timestamp    ,
@@ -91,8 +91,8 @@ CREATE UNIQUE INDEX openvpn_attempts_digest ON openvpn_attempts(digest);
 CREATE UNIQUE INDEX openvpn_attempts_remoteip ON openvpn_attempts(remoteip);
 
 CREATE TABLE openvpn_sessionkeys (
-       sessionseed      varchar(64)  NOT NULL,
-       sessionkey       varchar(64)  NOT NULL,
+       sessionseed      varchar(128)  NOT NULL,
+       sessionkey       varchar(128)  NOT NULL,
        PRIMARY KEY(sessionseed)
 );
 
-- 
cgit 

