aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v2/sysenv.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2010-05-13 08:45:39 -0400
committerRalph Amissah <ralph@amissah.com>2010-05-13 08:45:39 -0400
commit0b620c42667441df46350d35b3f2ad1d130653c4 (patch)
treea9e86cfb49eebae87339f566626b869d29a823fe /lib/sisu/v2/sysenv.rb
parentdebian/changelog (2.3.3-1) (diff)
parenturls, screen output control (diff)
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'lib/sisu/v2/sysenv.rb')
-rw-r--r--lib/sisu/v2/sysenv.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v2/sysenv.rb b/lib/sisu/v2/sysenv.rb
index cc21a6c9..f11cdcbd 100644
--- a/lib/sisu/v2/sysenv.rb
+++ b/lib/sisu/v2/sysenv.rb
@@ -200,7 +200,7 @@ module SiSU_Env
LANGUAGE_CODE => 'en', #change, unecessary duplication though currently used
MULTILINGUAL => true,
CONCORD_MAX => 260000,
- DIGEST => 'md5',
+ DIGEST => 'sha256',
WEBSERV_HOST_CGI => ' http://localhost',
WEBSERV_PORT_CGI => 8081, #8111,8123,8081
POSTGRESQL_USER => @@user, #'ralph', # change user !!!
@@ -1900,16 +1900,16 @@ WOK
case @rc['default']['digest']
when /^sha(?:2|256)?$/; 'sha256'
when /^md5$/; 'md5'
- else 'md5'
+ else 'sha256'
end
- else 'md5'
+ else 'sha256'
end
end
def length
case digest.type
when /sha256/; 64
when /md5/; 32
- else 32
+ else 64
end
end
def pattern