Fix the wrong value of AUTHMETHOD_NONE.

This commit is contained in:
NI
2019-09-11 16:42:36 +08:00
parent c9f3860d00
commit 70aea54e85

View File

@@ -27,7 +27,7 @@ import * as history from "./history.js";
import * as strings from "./string.js";
import Exception from "./exception.js";
const AUTHMETHOD_NONE = 0x01;
const AUTHMETHOD_NONE = 0x00;
const AUTHMETHOD_PASSPHRASE = 0x01;
const AUTHMETHOD_PRIVATE_KEY = 0x02;