Eric,

finally I get into Your Patched version (Adnovum Patch of 15.06.01)

The problems are two :

1) Using the 15.06.01 patch  (pkcs11 + "diff patch") I can only do the
following command : openssl pkcs11 -l "c:\gclib.dll" -out dumpfile

Answer : are available other commands (in order to sign, encrypt, write
ecc.)

2) Do you have the "diff patch" for the 13.12.01 patch version (the second
you sent)?


Thanks in advance

Paolo



----- Original Message -----
From: "Eric Laroche" <[EMAIL PROTECTED]>
To: "Paolo Rossi" <[EMAIL PROTECTED]>
Sent: Wednesday, October 17, 2001 11:45 AM
Subject: Re: PKCS #11 (Cryptoki token devices) Openssl integration


>
> Hi Paolo,
>
> Paolo Rossi wrote:
> >
> > I'm trying to compile the software in win32 environment (NT4SP4)
> > with no result (I would like to interface a gemplus smart-card with
> > gclib.dll).
> > I  've installed openssl-engine-0.9.6, and unzipped your files (not
> > the patch) in : c:\open...\crpypto\pkcs11.
> > When I run mingw32.bat (I use gcc-2.95.2-msvcrt compiler ) there is
> > a problem and the compilation fails.
> > I've only modified mkfiles.pl, by adding the follow line :
> > "crypto/pkcs11",
> > What is wrong?
>
> You need somehow to apply the provided 'patch'
> pkcs11.openssl.adnovum.20010615.patch.gz (either by using GNU 'patch'
> or manually).  If you 'gunzip' the file, you will get a human-readable
> 'unified' 'diff' (generated by GNU 'diff -u').
>
> Let me explain how to apply the changes manually, by a sample:
>
> * change apps/progs.h:
>
> These four lines are meta info, identifying files, timestamps, and
> locations in the file.
>
>     diff -ur openssl-SNAP-20010613/apps/progs.h
OpenSSL/openssl/apps/progs.h
>     --- openssl-SNAP-20010613/apps/progs.h Mon Feb 19 18:00:26 2001
>     +++ OpenSSL/openssl/apps/progs.h Fri Jun 15 00:00:00 2001
>     @@ -37,6 +37,7 @@
>
> Lines beginning with ' ' are 'context' lines, used as an orientation.
> don't add/delete/change these!
>
>      extern int rand_main(int argc,char *argv[]);
>      extern int engine_main(int argc,char *argv[]);
>      extern int ocsp_main(int argc,char *argv[]);
>
> Add lines beginning with '+', e.g. this line:
>
>     +extern int pkcs11_main(int argc,char *argv[]);
>
> More context lines:
>
>      #define FUNC_TYPE_GENERAL 1
>      #define FUNC_TYPE_MD 2
>
> Delete lines beginning with '-', change '-'/'+' line pairs
> accordingly.
>
> In the specific patch, changes are done mainly on makefiles, and some
> code is added to ssl/ssl_rsa.c.
>
> Hope this helps.
>
> Regards,
> Eric
>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to