Skip to content

Commit

Permalink
2005-05-03 Sebastien Pouliot <sebastien@ximian.com>
Browse files Browse the repository at this point in the history
	* AsnEncodedData.cs: Allow CopyFrom to work even without an OID.


svn path=/trunk/mcs/; revision=43971
  • Loading branch information
Sebastien Pouliot committed May 3, 2005
1 parent 7a59899 commit 9d8c350
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,11 @@ public virtual void CopyFrom (AsnEncodedData asnEncodedData)
if (asnEncodedData == null)
throw new ArgumentNullException ("asnEncodedData");

Oid = new Oid (asnEncodedData._oid);
if (asnEncodedData._oid == null)
Oid = null;
else
Oid = new Oid (asnEncodedData._oid);

RawData = asnEncodedData._raw;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
2005-05-03 Sebastien Pouliot <sebastien@ximian.com>

* AsnEncodedData.cs: Allow CopyFrom to work even without an OID.

2005-04-25 Sebastien Pouliot <sebastien@ximian.com>

* AsnEncodedData.cs: Fix compiler warning (unused variable).
Expand Down

0 comments on commit 9d8c350

Please sign in to comment.