Load libcrypto before libssl in the OpenSSL package.

This commit is contained in:
pascal 2013-04-10 08:29:56 +00:00
parent 52e6f0dcf8
commit 1767b62d53
2 changed files with 21 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2013/03/19 18:47:45 pascal Exp $
# $OpenBSD: Makefile,v 1.4 2013/04/10 08:29:56 pascal Exp $
ONLY_FOR_ARCHS = amd64 i386
@ -7,7 +7,7 @@ COMMENT = open source compiler for Pascal/Object Pascal
V = 2.6.2
DISTNAME = fpcbuild-${V}
PKGNAME = fpc-${V}
REVISION = 0
REVISION = 1
BOOT_GEN = 0
CATEGORIES = lang

View File

@ -0,0 +1,19 @@
$OpenBSD: patch-fpcsrc_packages_openssl_src_openssl_pas,v 1.1 2013/04/10 08:29:56 pascal Exp $
load libcrypto before libssl.
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=24218
--- fpcsrc/packages/openssl/src/openssl.pas.orig Sun Apr 7 23:11:20 2013
+++ fpcsrc/packages/openssl/src/openssl.pas Sun Apr 7 23:11:43 2013
@@ -2555,8 +2555,8 @@ end;
function InitSSLInterface(AVerboseLoading: Boolean = False): Boolean;
Begin
try
- if InitSSLEAInterface(AVerboseLoading) then
- if InitLIBEAInterface(AVerboseLoading) then
+ if InitLIBEAInterface(AVerboseLoading) then
+ if InitSSLEAInterface(AVerboseLoading) then
result:=true
else
result:=false