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:
parent
820a028c9b
commit
ddc95acf54
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user