mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
remove uuidgen
This commit is contained in:
parent
7cbca7fc1e
commit
ea3e6dae93
@ -359,11 +359,7 @@ _edgedns_eg_timestamp() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_edgedns_new_nonce() {
|
_edgedns_new_nonce() {
|
||||||
_nonce=$(uuidgen -r)
|
_nonce=$(echo "EDGEDNS$(_time)" | _digest sha1 hex | cut -c 1-32)
|
||||||
_ret="$?"
|
|
||||||
if [ "$_ret" -ne 0 ]; then
|
|
||||||
_nonce=$(echo "EDGEDNS$(_time)" | _digest sha1 hex | cut -c 1-32)
|
|
||||||
fi
|
|
||||||
_debug3 "_nonce" "$_nonce"
|
_debug3 "_nonce" "$_nonce"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user