Skip to content

Commit 93fe956

Browse files
committed
Fix bug in handling Session Keys
A check inversion in 86661d0 caused the specified session key to be ignored and a crash when none was specified. Signed-off-by: Simo Sorce <simo@redhat.com>
1 parent 4d75af1 commit 93fe956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mod_auth_gssapi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ struct mag_req_cfg *mag_init_cfg(request_rec *req)
648648
req_cfg->desired_mechs = scfg->default_mechs;
649649
}
650650

651-
if (!req_cfg->cfg->mag_skey) {
651+
if (req_cfg->cfg->mag_skey) {
652652
req_cfg->mag_skey = req_cfg->cfg->mag_skey;
653653
} else {
654654
/* Use server random key if not explicitly configured */

0 commit comments

Comments
 (0)