From: <ed...@mx...> - 2003-02-04 14:26:24
|
edwin 03/02/04 09:34:29 Modified: openpgp/src/cryptix/openpgp/algorithm PGPAlgorithmFactory.java Log: Fix SHA1 identifier to the correct value. (Thi value only worked with cryptix JCE) Revision Changes Path 1.19 +2 -2 projects/openpgp/src/cryptix/openpgp/algorithm/PGPAlgorithmFactory.java Index: PGPAlgorithmFactory.java =================================================================== RCS file: /home/cryptix-cvs/cvsroot/projects/openpgp/src/cryptix/openpgp/algorithm/PGPAlgorithmFactory.java,v retrieving revision 1.18 retrieving revision 1.19 diff -u -r1.18 -r1.19 --- PGPAlgorithmFactory.java 31 Jan 2003 00:52:24 -0000 1.18 +++ PGPAlgorithmFactory.java 4 Feb 2003 14:34:29 -0000 1.19 @@ -1,4 +1,4 @@ -/* $Id: PGPAlgorithmFactory.java,v 1.18 2003/01/31 00:52:24 edwin Exp $ +/* $Id: PGPAlgorithmFactory.java,v 1.19 2003/02/04 14:34:29 edwin Exp $ * * Copyright (C) 1999-2001 The Cryptix Foundation Limited. * All rights reserved. @@ -123,7 +123,7 @@ private static final int[] defaultHashIDs = { 1, 2, 3, 4, 5, 6, 7 }; private static final String[] defaultHashStrings = { - "MD5", "SHA-1", "RIPEMD160", "DW SHA", "MD2", "Tiger", "HAVAL" }; + "MD5", "SHA1", "RIPEMD160", "DW SHA", "MD2", "Tiger", "HAVAL" }; private static final String[] defaultHashTextNames = { "MD5", "SHA1", "RIPEMD160", null, "MD2", "TIGER192", "HAVAL-5-160" }; |