Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail Digest challenge if the client nonce can't be created #147

Merged
merged 1 commit into from
Apr 13, 2024

Conversation

notroj
Copy link
Owner

@notroj notroj commented Mar 9, 2024

Fail Digest challenge if the client nonce can't be created either due 
to PRNG failure (with-SSL case) or hash failure (non-SSL case).

* src/ne_auth.c (get_cnonce): Simplify #if structure and add failure cases. (digest_challenge): Pass the hash algorithm and errmsg to get_cnonce(); fail if get_cnonce() fails.

to PRNG failure (with-SSL case) or hash failure (non-SSL case).

* src/ne_auth.c (get_cnonce): Simplify #if structure and add failure
  cases.
  (digest_challenge): Pass the hash algorithm and errmsg to
  get_cnonce(); fail if get_cnonce() fails.
@notroj notroj merged commit 21bb166 into master Apr 13, 2024
196 checks passed
@notroj notroj deleted the cnonce-fails branch April 13, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant