Moving SafeDeleteContext and SafeFreeCredentials to common location#8452
Conversation
|
This is in response to a PR comment received |
|
cc: @stephentoub |
|
cc: @bartonjs |
| } | ||
| } | ||
|
|
||
| internal sealed class SafeDeleteSslContext : SafeDeleteContext |
There was a problem hiding this comment.
Everything left in this file (for example, this class) should be also moved to new files so we can delete the whole libssl directory
There was a problem hiding this comment.
Split the file into different classes. I moved the classes which are under System.Net.Security namespace to $(COMMONPATH)\System\Net\Security\Unix and those in default namespace (Interop.*) to $(COMMONPATH)\Interop\Unix\System.Security.Cryptography.Native
Please let me know if you have any other location in mind
|
Test Innerloop CentOS7.1 Debug Build and Test please |
|
@dotnet-bot test outerloop rhel7.2 release |
|
Outerloop test failure is due to I think this is same as #8472 (which should get fixed with new packages) |
| using System.Diagnostics; | ||
| using System.Runtime.InteropServices; | ||
| //using System.Security.Authentication; | ||
| //using System.Security.Authentication.ExtendedProtection; |
There was a problem hiding this comment.
These seem like they could be deleted...
There was a problem hiding this comment.
thank you. I missed these. Removed them now
* Corefx does not pinvoke into libssl directly anymore. This commit moves the Interop files in $(COMMONPATH)\Interop\Unix\libssl to $(COMMONPATH)\Interop\Unix\System.Security.Cryptography.Native directory. Likewise, the SecuritySafeHandles are split across different files and are moved to $(COMMONPATH)\System\Net\Security\Unix.
|
Both the inner loop failures are in System.Runtime.Loader.Tests. Not yet sure why they fail only on CentOS |
|
@dotnet-bot test outerloop rhel7.2 release |
|
@dotnet-bot test Innerloop CentOS7.1 debug |
|
@dotnet-bot test this please |
|
Looks a lot better. Thanks, Hemanth. |
Moving SafeDeleteContext and SafeFreeCredentials to common location Commit migrated from dotnet/corefx@b020dfd
SafeFreeCredentials and SafeDeleteContext are used across two native libraries - libssl and System.Net.Security.Native.
Moving these two classes a common location.