History log of /openssl/util/mkdef.pl (Results 226 – 250 of 282)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 62dc5aad 02-Mar-2001 Richard Levitte

Introduce the possibility to access global variables through
functions on platform were that's the best way to handle exporting
global variables in shared libraries. To enable this functiona

Introduce the possibility to access global variables through
functions on platform were that's the best way to handle exporting
global variables in shared libraries. To enable this functionality,
one must configure with "EXPORT_VAR_AS_FN" or defined the C macro
"OPENSSL_EXPORT_VAR_AS_FUNCTION" in crypto/opensslconf.h (the latter
is normally done by Configure or something similar).

To implement a global variable, use the macro OPENSSL_IMPLEMENT_GLOBAL
in the source file (foo.c) like this:

OPENSSL_IMPLEMENT_GLOBAL(int,foo)=1;
OPENSSL_IMPLEMENT_GLOBAL(double,bar);

To declare a global variable, use the macros OPENSSL_DECLARE_GLOBAL
and OPENSSL_GLOBAL_REF in the header file (foo.h) like this:

OPENSSL_DECLARE_GLOBAL(int,foo);
#define foo OPENSSL_GLOBAL_REF(foo)
OPENSSL_DECLARE_GLOBAL(double,bar);
#define bar OPENSSL_GLOBAL_REF(bar)

The #defines are very important, and therefore so is including the
header file everywere where the defined globals are used.

The macro OPENSSL_EXPORT_VAR_AS_FUNCTION also affects the definition
of ASN.1 items, but that structure is a bt different.

The largest change is in util/mkdef.pl which has been enhanced with
better and easier to understand logic to choose which symbols should
go into the Windows .def files as well as a number of fixes and code
cleanup (among others, algorithm keywords are now sorted
lexicographically to avoid constant rewrites).

show more ...


# 2ae87d46 22-Feb-2001 Richard Levitte

When inside a #if 0..#endif, do not define anything.


# d399fdf8 21-Feb-2001 Richard Levitte

Modify mkdef.pl to recognise and parse prprocessor conditionals of the
form '#if defined(...) || defined(...) || ...' and '#if !defined(...)
&& !defined(...) && ...'. This also avoids the gr

Modify mkdef.pl to recognise and parse prprocessor conditionals of the
form '#if defined(...) || defined(...) || ...' and '#if !defined(...)
&& !defined(...) && ...'. This also avoids the growing number of
special cases it was previously handling (some of them wrongly).

show more ...


# cf1b7d96 19-Feb-2001 Richard Levitte

Make all configuration macros available for application by making
sure they are available in opensslconf.h, by giving them names starting
with "OPENSSL_" to avoid conflicts with other package

Make all configuration macros available for application by making
sure they are available in opensslconf.h, by giving them names starting
with "OPENSSL_" to avoid conflicts with other packages and by making
sure e_os2.h will cover all platform-specific cases together with
opensslconf.h.

I've checked fairly well that nothing breaks with this (apart from
external software that will adapt if they have used something like
NO_KRB5), but I can't guarantee it completely, so a review of this
change would be a good thing.

show more ...


# 267a1927 19-Feb-2001 Richard Levitte

Do not insert things in syms{} and kind{} when parsing the header
files. Instead, insert proper information in the $def string, which
will be properly munged later on.


# c063f2c5 09-Feb-2001 Dr. Stephen Henson

Various Win32 related fixed. Make no-krb5 work in mkdef.pl .

Fix warning in apps/engine.c

Remove definitions of deleted functions.

Add missing definition of X509_VAL.


# c47c6196 09-Feb-2001 Dr. Stephen Henson

Various updates to mkdef.pl to cope with new aes
and ASN1 code.


# 71db0281 31-Dec-2000 Richard Levitte

Remove RSAref-related things.


# 3f07fe09 29-Dec-2000 Richard Levitte

Enhancements to mkdef.pl:

* detect "unknown" algorithms (any C macro starting with NO_ that is
not explicitely mentioned in mkdef.pl as a known algorithm) and
report.
* add a

Enhancements to mkdef.pl:

* detect "unknown" algorithms (any C macro starting with NO_ that is
not explicitely mentioned in mkdef.pl as a known algorithm) and
report.
* add a number of algorithms that can be deselected.
* look in ssl/kssl.h as well.
* accept multiple whitespace (not just one SPC) in preprocessor lines.

show more ...


# 3c07b4c2 21-Dec-2000 Dr. Stephen Henson

Various Win32 related fixes. Doesn't compile yet on
Win32 but it is getting there...

Update mkdef.pl to handle ASN1_ANY and fix headers.

Stop various VC++ warnings.

Inc

Various Win32 related fixes. Doesn't compile yet on
Win32 but it is getting there...

Update mkdef.pl to handle ASN1_ANY and fix headers.

Stop various VC++ warnings.

Include some fixes from "Peter 'Luna' Runestig"
<peter@runestig.com>

Remove external declaration for des_set_weak_key_flag:
it doesn't exist.

show more ...


# 9c67ab2f 16-Dec-2000 Dr. Stephen Henson

Make mkdef.pl parse some ASN1 IMPLEMENT macros.

Initial support for variables in DEF files.


# 5f524acc 14-Nov-2000 Richard Levitte

Get the Rijndael function declarations.


# 451e60e9 14-Nov-2000 Richard Levitte

Detect and mark functions that no longer exist.


# 993ea851 14-Nov-2000 Richard Levitte

Add Rijndael as things to look through.


# ccb9643f 08-Nov-2000 Richard Levitte

Remove references to RSAref. The glue library is but a memory to fade
away now...


Revision tags: rsaref
# eb64730b 27-Oct-2000 Richard Levitte

The majority of the OCSP code from CertCo.


# 5270e702 26-Oct-2000 Richard Levitte

Merge the engine branch into the main trunk. All conflicts resolved.
At the same time, add VMS support for Rijndael.


Revision tags: BEFORE_engine, OpenSSL_0_9_6-beta2, OpenSSL_0_9_6-beta1, OpenSSL_0_9_6
# be054868 25-Sep-2000 Richard Levitte

When creating a .def file, be a bit more selective so disabled
algorithms do not get in...


Revision tags: OpenSSL-engine-0_9_6, OpenSSL-engine-0_9_6-beta3, OpenSSL_0_9_6-beta3
# 33b1a4c2 20-Sep-2000 Richard Levitte

Wrong variable used. It's funny how some bugs take a long time
getting triggered...


Revision tags: OpenSSL-engine-0_9_6-beta2
# 5ef80937 17-Sep-2000 Richard Levitte

Oops, no engine in the main trunk.


# 6d50071e 17-Sep-2000 Richard Levitte

Tell users that a rewrite might be a good idea.


# d63b8db8 11-Sep-2000 Richard Levitte

mkdef.pl still needed better logic. Also, the semantics of the
platforms list is clarified (it's however not quite followed in the
RSAREF case...).

RSAREF is also checked now.


# 965c1775 11-Sep-2000 Richard Levitte

mkdef.pl has erroneous conditions to check if a symbol is excluded
from the given target. Fixed, I hope.


Revision tags: OpenSSL-engine-0_9_6-beta1
# 948d0125 07-Sep-2000 Richard Levitte

Major hack of mkdef.pl. There should be no more need to redo the
process when some symbols are missing. Instead, all needed info is
saved in the .num files, including what conditions are ne

Major hack of mkdef.pl. There should be no more need to redo the
process when some symbols are missing. Instead, all needed info is
saved in the .num files, including what conditions are needed for a
specific symbol to exist.

This was needed for the work I'm doing with shared libraries under
VMS.

show more ...


# 967f4ca8 17-Aug-2000 Richard Levitte

New option 'ctestall' for mkdef.pl, that makes it not only generate
existing functions, but really all functions that exist in libeay.num
and ssleay.num. This is a good check on how much we

New option 'ctestall' for mkdef.pl, that makes it not only generate
existing functions, but really all functions that exist in libeay.num
and ssleay.num. This is a good check on how much we should actually
clean up the number files.

show more ...


12345678910>>...12