mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-05 23:24:54 +00:00
fix bug."head -c" in function _ali_nonce not supported by solaris
This commit is contained in:
parent
645de061e9
commit
70d71c991a
@ -105,7 +105,7 @@ _ali_urlencode() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_ali_nonce() {
|
_ali_nonce() {
|
||||||
cat /dev/urandom | _head_n 1 | _digest "sha256" hex | cut -c 1-31
|
< /dev/urandom | _head_n 1 | _digest "sha256" hex | cut -c 1-31
|
||||||
}
|
}
|
||||||
|
|
||||||
_check_exist_query() {
|
_check_exist_query() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user