Fix SSPIException serialization

It was failing due to a typo in a field name.
This commit is contained in:
Matt Sullivan
2017-05-01 00:10:56 +10:00
parent 5eeb3f874b
commit 5018ba17c2

View File

@@ -35,7 +35,7 @@ namespace NSspi
protected SSPIException( SerializationInfo info, StreamingContext context )
: base( info, context )
{
this.message = info.GetString( "messsage" );
this.message = info.GetString("message");
this.errorCode = (SecurityStatus)info.GetUInt32( "errorCode" );
}