1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-22 13:33:52 +03:00

Bug #839: Fix typo in java OCA Client.java

(cherry picked from commit 7b2414e077)
This commit is contained in:
Carlos Martín 2011-09-28 19:16:29 +02:00
parent 820a028c9b
commit ddc95acf54

View File

@ -162,7 +162,7 @@ public class Client{
{
oneAuth = oneSecret;
}
else if ( token.lenght == 2 )
else if ( token.length == 2 )
{
MessageDigest md = MessageDigest.getInstance("SHA-1");
byte[] digest = md.digest(token[1].getBytes());