Geoff,
more bugs are in engine code.

1. When I compile openssl on Windows (W2k), errors are on lines where is
  return engine_table_register(&XXX_table,
    &engine_unregister_all_XXX, e, &dummy_nid, 1, 0);
second parameter has bad type, I put there (ENGINE_CLEANUP_CB *), but I
don't know if is it right.
This is in files crypto/engine/tb_XXX.c

2. Linker error: unresolved symbols
a)EVP_DecryptInit_ex,
b)EVP_EncryptInit_ex,
c)ENGINE_load_openbsd_dev_crypto

first two are nor used nor implement so I comment it in evp.h
third I comment in engine.h
( I tried use #ifdef, but this not work, because some perl scipt running
through ms/do_nt.bat ignore #ifdef and puts export lines into file
libeay32.def and this makes problem in link step unresolved symbol)

All problem are on Windows platform, on Linux all work fine.

Regards,
Martin


----- Original Message -----
From: "Geoff Thorpe" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, October 08, 2001 4:44 PM
Subject: Re: error in eng_table.c openssl-SNAP-20011007


> Hi there,
>
> Thanks!
>
> Of course, I'm wondering to myself, how the hell didn't "gcc" pick this up
> before now?
>
> Cheers,
> Geoff
>
> On Monday 08 October 2001 09:39, Martin Szotkowski wrote:
> > in file /crypto/engine/eng_table.c
> > on line 137 missing pointer before cleanup!
> >
> > wrong:
> > int engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB
> > cleanup, ENGINE *e, const int *nids, int num_nids, int setdefault)
> >
> > correct:
> > int engine_table_register(ENGINE_TABLE **table, ENGINE_CLEANUP_CB
> > *cleanup, ENGINE *e, const int *nids, int num_nids, int setdefault)
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> Development Mailing List                       [EMAIL PROTECTED]
> Automated List Manager                           [EMAIL PROTECTED]

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to