Skip to content

Commit

Permalink
Merge branch 'ARC-144-sspi-rs-WASM-module-and-JavaScript-API-for-NTLM…
Browse files Browse the repository at this point in the history
…' of https://github.com/Devolutions/sspi-rs into ARC-144-sspi-rs-WASM-module-and-JavaScript-API-for-NTLM
  • Loading branch information
irvingoujAtDevolution committed Oct 7, 2023
2 parents 334dfec + 8d9fab6 commit 57de199
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kerberos/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ impl<'a> Kerberos {

let (encryption_type, salt) = extract_encryption_params_from_as_rep(&as_rep)?;

let encryption_type = CipherSuite::try_from(encryption_type as usize)?;
let encryption_type = CipherSuite::try_from(usize::from(encryption_type))?;

self.encryption_params.encryption_type = Some(encryption_type);

Expand Down

0 comments on commit 57de199

Please sign in to comment.