Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
6b20993d
Commit
6b20993d
authored
Oct 16, 2020
by
Ed Lynes
Browse files
fix format
parent
9ab16bdb
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_edgedns.sh
View file @
6b20993d
...
@@ -440,7 +440,7 @@ _edgedns_base64_sha256() {
...
@@ -440,7 +440,7 @@ _edgedns_base64_sha256() {
_debug2
"Creating sha256 digest"
_debug2
"Creating sha256 digest"
trg
=
$1
trg
=
$1
_secure_debug2
"digest data"
"
$trg
"
_secure_debug2
"digest data"
"
$trg
"
digest
=
"
$(
echo
"
$trg
"
|
tr
-d
"
\n\r
"
| _digest
"sha256"
)
"
digest
=
"
$(
echo
"
$trg
"
|
tr
-d
"
\n\r
"
| _digest
"sha256"
)
"
_sha256_out
=
"
$(
echo
"
$digest
"
|
tr
-d
"
\n\r
"
| iconv
-f
utf-8
)
"
_sha256_out
=
"
$(
echo
"
$digest
"
|
tr
-d
"
\n\r
"
| iconv
-f
utf-8
)
"
_secure_debug2
"digest decode"
"
$_sha256_out
"
_secure_debug2
"digest decode"
"
$_sha256_out
"
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment