mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-05 23:34:31 +00:00
fix bug. _ali_nonce not work on solaris
This commit is contained in:
parent
43a7b9e8ad
commit
e231366944
@ -105,7 +105,9 @@ _ali_urlencode() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_ali_nonce() {
|
_ali_nonce() {
|
||||||
_head_n 1 </dev/urandom | _digest "sha256" hex | cut -c 1-31
|
#_head_n 1 </dev/urandom | _digest "sha256" hex | cut -c 1-31
|
||||||
|
#Not so good...
|
||||||
|
date +"%s%N"
|
||||||
}
|
}
|
||||||
|
|
||||||
_check_exist_query() {
|
_check_exist_query() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user