File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ public function authenticate(array &$state): void
178178 }
179179 }
180180
181- if ($ reply === null ) {
181+ if (! $ auth -> isChannelBound () ) {
182182 throw new Error \Exception (
183183 'Negotiate - authenticate(): Failed to perform channel binding using '
184184 . 'any of the configured certificate hashes. ' ,
@@ -248,7 +248,7 @@ public function authenticate(array &$state): void
248248
249249 private function doAuthentication (KRB5NegotiateAuth $ auth , string $ hash = null ): bool
250250 {
251- if ($ this ->enforceChannelBinding === true && (( $ hash === null ) || ( $ auth -> isChannelBound () === false ) )) {
251+ if ($ this ->enforceChannelBinding === true && ($ hash === null )) {
252252 throw new Error \Exception (
253253 'Negotiate - doAuthenticate(): Channel binding is required, but the client '
254254 . 'did not provide binding info. ' ,
You can’t perform that action at this time.
0 commit comments