Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
James Lowden
OpenLDAP
Commits
1b6a223a
Commit
1b6a223a
authored
Sep 12, 2020
by
Quanah Gibson-Mount
Browse files
ITS#9344 - Fix TLS_PEERKEY_HASH_FAIL evaluation
parent
9a3e63ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/scripts/test067-tls
View file @
1b6a223a
...
...
@@ -43,7 +43,7 @@ if test -n "${openssl}"; then
"
${
openssl
}
"
dgst
"-
$TLS_PEERKEY_HASHALG
"
-binary
2>/dev/null |
\
"
${
openssl
}
"
enc
-base64
2>/dev/null
`
"
TLS_PEERKEY_HASHED_FAIL
=
"
$TLS_PEERKEY_HASHALG
:
`
echo
"a fake key to hash"
|
\
TLS_PEERKEY_HASHED_FAIL
=
"
$TLS_PEERKEY_HASHALG
:
`
echo
\
"
a fake key to
hash
\
"
|
\
"
${
openssl
}
"
dgst
"-
$TLS_PEERKEY_HASHALG
"
-binary
2>/dev/null |
\
"
${
openssl
}
"
enc
-base64
2>/dev/null
`
"
elif
test
-n
"
${
certtool
}
"
&&
test
-n
"
${
base64
}
"
;
then
...
...
Write
Preview
Supports
Markdown
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