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
6654d7a9
Commit
6654d7a9
authored
Jul 13, 2020
by
neil
Browse files
fix format
parent
44743b5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
6654d7a9
...
@@ -1018,7 +1018,7 @@ _sign() {
...
@@ -1018,7 +1018,7 @@ _sign() {
if
[
"
$__ECC_KEY_LEN
"
-eq
"256"
]
;
then
if
[
"
$__ECC_KEY_LEN
"
-eq
"256"
]
;
then
while
[
"
${#
_ec_r
}
"
-lt
"64"
]
;
do
while
[
"
${#
_ec_r
}
"
-lt
"64"
]
;
do
_ec_r
=
"0
${
_ec_r
}
"
_ec_r
=
"0
${
_ec_r
}
"
done
done
while
[
"
${#
_ec_s
}
"
-lt
"64"
]
;
do
while
[
"
${#
_ec_s
}
"
-lt
"64"
]
;
do
_ec_s
=
"0
${
_ec_s
}
"
_ec_s
=
"0
${
_ec_s
}
"
done
done
...
@@ -1026,7 +1026,7 @@ _sign() {
...
@@ -1026,7 +1026,7 @@ _sign() {
if
[
"
$__ECC_KEY_LEN
"
-eq
"384"
]
;
then
if
[
"
$__ECC_KEY_LEN
"
-eq
"384"
]
;
then
while
[
"
${#
_ec_r
}
"
-lt
"96"
]
;
do
while
[
"
${#
_ec_r
}
"
-lt
"96"
]
;
do
_ec_r
=
"0
${
_ec_r
}
"
_ec_r
=
"0
${
_ec_r
}
"
done
done
while
[
"
${#
_ec_s
}
"
-lt
"96"
]
;
do
while
[
"
${#
_ec_s
}
"
-lt
"96"
]
;
do
_ec_s
=
"0
${
_ec_s
}
"
_ec_s
=
"0
${
_ec_s
}
"
done
done
...
@@ -1034,7 +1034,7 @@ _sign() {
...
@@ -1034,7 +1034,7 @@ _sign() {
if
[
"
$__ECC_KEY_LEN
"
-eq
"512"
]
;
then
if
[
"
$__ECC_KEY_LEN
"
-eq
"512"
]
;
then
while
[
"
${#
_ec_r
}
"
-lt
"132"
]
;
do
while
[
"
${#
_ec_r
}
"
-lt
"132"
]
;
do
_ec_r
=
"0
${
_ec_r
}
"
_ec_r
=
"0
${
_ec_r
}
"
done
done
while
[
"
${#
_ec_s
}
"
-lt
"132"
]
;
do
while
[
"
${#
_ec_s
}
"
-lt
"132"
]
;
do
_ec_s
=
"0
${
_ec_s
}
"
_ec_s
=
"0
${
_ec_s
}
"
done
done
...
...
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