[fpc-devel] last OpenSSL patch breaks the Trunk build
Graeme Geldenhuys
graemeg.lists at gmail.com
Mon Aug 23 18:27:18 CEST 2010
Hi,
The following change (r15883) breaks Trunk builds. Compiler error on
line 2086 (openssl.pas). Expected Pointer but got ShortInt.
------------------------------------------
$ git show HEAD
commit fc8a3f5eee1eda9bf82e7e720789c4fab3835785
Author: Felipe Monteiro de Carvalho <sekelsenmat at freepascal.org>
Date: Mon Aug 23 14:32:31 2010 +0000
Small fix for PPEVP_PKEY
git-svn-id: http://svn.freepascal.org:/svn/fpc/trunk@15883 3ad0048d-3df7-031
diff --git a/packages/openssl/src/openssl.pas b/packages/openssl/src/openssl.pas
index 6172cf8..9bff87a 100644
--- a/packages/openssl/src/openssl.pas
+++ b/packages/openssl/src/openssl.pas
@@ -109,7 +109,7 @@ type
PBIO_METHOD = SslPtr;
PBIO = SslPtr;
PEVP_PKEY = SslPtr;
- PPEVP_PKEY = PEVP_PKEY;
+ PPEVP_PKEY = ^PEVP_PKEY;
PRSA = SslPtr;
PPRSA = ^PRSA;
PASN1_UTCTIME = SslPtr;
----------------------------------------------------
Attached is a patch to fix the build. I don't know the OpenSSL code
so don't know if a simple cast is ok, or if nil should have been
return. I went with the cast.
--
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openssl.patch
Type: text/x-diff
Size: 420 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20100823/408da9f6/attachment.patch>
More information about the fpc-devel
mailing list