Am Donnerstag 18 Juni 2009 19:01:20 schrieb Mattes, David:
> Hi,
>
> I'm trying to get OpenSSL Engine support working. I've got the following
> environment: engine_pkcs11-0.1.6.tar.gz
> libp11-0.2.5.tar.gz
> opensc-0.11.8.tar.gz
> x86_64 2.6.27.23-0.1-default #1 SMP (Novell SLED 11)
> OpenSSL 0.9.
Hi,
I'm trying to get OpenSSL Engine support working. I've got the following
environment:
engine_pkcs11-0.1.6.tar.gz
libp11-0.2.5.tar.gz
opensc-0.11.8.tar.gz
x86_64 2.6.27.23-0.1-default #1 SMP (Novell SLED 11)
OpenSSL 0.9.8h 28 May 2008 (64bit)
I'm confused because it looks like this version
It will work... :)
On Thu, Jun 18, 2009 at 12:53 PM, Marc Rios Valles wrote:
> Hi Alon,
>
> I have changed for this:
>
> ret = (unsigned)((char*)_data->start (_data->data) - (char*)0);
>
> And it compiles, but I don't know if it works...
>
> Thanks for all
>
> --
> Marc Rios Vallès
> m...@c3po.es
Hi Alon,
I have changed for this:
ret = (unsigned)((char*)_data->start (_data->data) - (char*)0);
And it compiles, but I don't know if it works...
Thanks for all
--
Marc Rios Vallès
m...@c3po.es
C3PO, S.A.
http://www.c3po.es
C/ Alejandro Goicoechea, 6 Local 9 - 08960 St. Just Desvern, Barce
It looks like pointer arithmetic.
When you subtract two pointers the result is number of elements and that
means that element size must be known.
My C is rather "rusty" these days so forgive me if I'm wrong :-)
Anders
Marc Rios Valles wrote:
> Hi,
>
>
> I have tried with VS 6.0, VS 2005 and VS
All we need here is to get an integer out of a pointer.
The problem is that the pointer may be 64bit or 32bit.
A simple cast did not work in WIN32 and WIN64 mingw build, so I use
the method of subtract two pointers.
This method should end with an offset which is an integer...
Can you please try (ch
Hi,
I have tried with VS 6.0, VS 2005 and VS 2008, all with the same results...
I don't know why it wants a size... But Does this operation have any sense??
rest 0??
--
Marc Rios Vallès
m...@c3po.es
C3PO, S.A.
http://www.c3po.es
C/ Alejandro Goicoechea, 6 Local 9 - 08960 St. Just Desvern,
Strange...
Why does it need the size?
Which version of visual studio do you use?
On Thu, Jun 18, 2009 at 11:40 AM, Marc Rios Valles wrote:
> Hi guys,
>
> I'm compiling pkcs11-helper 1.0.7 and I have found an error.
>
> In the file pkcs11h-threading.c at line 477 we see:
>
> ret = (unsigned)(_data-
Hi guys,
I'm compiling pkcs11-helper 1.0.7 and I have found an error.
In the file pkcs11h-threading.c at line 477 we see:
ret = (unsigned)(_data->start (_data->data) - (void*)0);
Visual Studio returns an error say¡ng that size of void* is unkown. The exact
error is:
pkcs11h-threadin