Ver código fonte

* Load crypto library before ssl library, required for OpenBSD (contributed by Pascal Stumpf)

git-svn-id: trunk@24218 -
pierre 12 anos atrás
pai
commit
cf0391a9d6
1 arquivos alterados com 5 adições e 5 exclusões
  1. 5 5
      packages/openssl/src/openssl.pas

+ 5 - 5
packages/openssl/src/openssl.pas

@@ -2555,11 +2555,11 @@ end;
 function InitSSLInterface(AVerboseLoading: Boolean = False): Boolean;
 Begin
  try
-   if InitSSLEAInterface(AVerboseLoading) then
-	if InitLIBEAInterface(AVerboseLoading) then
-	  result:=true
-	else
-	  result:=false
+   if InitLIBEAInterface(AVerboseLoading) then
+     if InitSSLEAInterface(AVerboseLoading) then
+       result:=true
+     else
+       result:=false
    else
     result:=false;
  except