Browse Source

fix bug. _ali_nonce not work on solaris

pull/410/head
lc 9 years ago
parent
commit
e231366944
  1. 4
      dnsapi/dns_ali.sh

4
dnsapi/dns_ali.sh

@ -105,7 +105,9 @@ _ali_urlencode() {
}
_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() {

Loading…
Cancel
Save