Skip to content

Commit

Permalink
Update libgssapi
Browse files Browse the repository at this point in the history
  • Loading branch information
losynix committed Jan 10, 2024
1 parent ad4da68 commit 1f21788
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 31 deletions.
37 changes: 8 additions & 29 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion usbsas-net/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "GPL-3.0"
base64 = { version = "0.21", optional = true }
byteorder = "1.5"
env_logger = "0.10"
libgssapi = { version = "0.6", optional = true }
libgssapi = { version = "0.7", optional = true }
log = "0.4"
reqwest = { version = "0.11", features = ["blocking", "json", "gzip"] }
serde = { version = "1.0", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion usbsas-net/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl HttpClient {
let service = Name::new(krb_service_name.as_bytes(), Some(&GSS_NT_HOSTBASED_SERVICE))?;
let client_cred = Cred::acquire(None, None, CredUsage::Initiate, Some(&desired_mechs))?;
let mut client_ctx = ClientCtx::new(
client_cred,
Some(client_cred),
service,
CtxFlags::GSS_C_MUTUAL_FLAG,
Some(&GSS_MECH_KRB5),
Expand Down

0 comments on commit 1f21788

Please sign in to comment.