diff --git a/src/libraries/tests.proj b/src/libraries/tests.proj
index 99d10066f34a6c..3736bc0c81d6da 100644
--- a/src/libraries/tests.proj
+++ b/src/libraries/tests.proj
@@ -40,11 +40,6 @@
-
-
-
-
-
diff --git a/src/native/libs/System.Security.Cryptography.Native/opensslshim.c b/src/native/libs/System.Security.Cryptography.Native/opensslshim.c
index d99f9fd913bffe..03d39bbe34142d 100644
--- a/src/native/libs/System.Security.Cryptography.Native/opensslshim.c
+++ b/src/native/libs/System.Security.Cryptography.Native/opensslshim.c
@@ -57,6 +57,14 @@ static void DlOpen(const char* libraryName)
{
void* libsslNew = dlopen(libraryName, RTLD_LAZY);
+#ifdef DEBUG
+ if (libsslNew == NULL)
+ {
+ char* err = dlerror();
+ printf("%s\n", err);
+ }
+#endif
+
// check is someone else has opened and published libssl already
if (!pal_atomic_cas_ptr(&libssl, libsslNew, NULL))
{