Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Introducing native shims for libgssapi in order to support NegotiateStream#5774

Merged
stephentoub merged 1 commit into
dotnet:dev/negotiatestreamfrom
kapilash:devnegostream
Feb 5, 2016
Merged

Introducing native shims for libgssapi in order to support NegotiateStream#5774
stephentoub merged 1 commit into
dotnet:dev/negotiatestreamfrom
kapilash:devnegostream

Conversation

@kapilash
Copy link
Copy Markdown
Contributor

Introducing native shims for libgssapi in order to support NegotiateStream

@kapilash
Copy link
Copy Markdown
Contributor Author

@kapilash
Copy link
Copy Markdown
Contributor Author

This supercedes #5500

@vijaykota
Copy link
Copy Markdown
Contributor

Adding reference to #2483

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

NIT: parens are unnecessary here

@kapilash
Copy link
Copy Markdown
Contributor Author

kapilash commented Feb 1, 2016

bartonjs :

Why stop setting the handle to zero?

This is fixed. Thanks.

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.

Needs the new license headers on all new files.

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.

This ctor seems like it's only used by the previous ctor, and if it is used by other code, we'd end up not including majorStatus and minorStatus in the error message. Seems like it'd be better to do away with this ctor entirely and just have the previous one be:

public GssApiException(Status majorStatus, Status minorStatus) :
    base(SR.Format(SR.net_gssapi_operation_failed, majorstatus, minorStatus))
{
    HResult = (int)majorStatus;
    _minorStatus = minorStatus;
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-System.Net os-linux Linux OS (any supported distro)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants