aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2024-02-15 15:41:07 +0000
committerCy Schubert <cy@FreeBSD.org>2024-02-15 21:27:55 +0000
commitfc773115fa2dbb6c01377f2ed47dabf79a4e361a (patch)
treefccf3eec03dfd4395fa9200f42f1976ac0b30990 /crypto
parent60616b445eb5b01597092fef5b14549f95000130 (diff)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c b/crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
index b60dc19ad8e3..48542f06fcbe 100644
--- a/crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
+++ b/crypto/heimdal/lib/gssapi/spnego/accept_sec_context.c
@@ -605,7 +605,7 @@ acceptor_start
* If opportunistic token failed, lets try the other mechs.
*/
- if (!first_ok && ni->mechToken != NULL) {
+ if (!first_ok) {
size_t j;
preferred_mech_type = GSS_C_NO_OID;