Skip to content

Implementation of initial responses with GNU SASL (resolves #319)#320

Open
RichardSteele wants to merge 1 commit intokisli:masterfrom
RichardSteele:fix-for-319
Open

Implementation of initial responses with GNU SASL (resolves #319)#320
RichardSteele wants to merge 1 commit intokisli:masterfrom
RichardSteele:fix-for-319

Conversation

@RichardSteele
Copy link
Copy Markdown
Contributor

Implements initial responses with GNU SASL.
Guards its usage within IMAP by respecting SASL-IR capability of server.

shared_ptr <IMAPCommand> authCmd;

if (saslSession->getMechanism()->hasInitialResponse()) {
if (saslIR && saslSession->getMechanism()->hasInitialResponse()) {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or we could simply use hasCapability() here, maybe more concise?

if (hasCapability("SASL-IR") && saslSession->getMechanism()->hasInitialResponse()) {

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.

2 participants