aboutsummaryrefslogtreecommitdiffstats
path: root/util/mkdef.pl
Commit message (Collapse)AuthorAgeFilesLines
* Modify mkdef.pl to recognise and parse prprocessor conditionals of theRichard Levitte2001-02-211-58/+110
| | | | | | 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).
* Make all configuration macros available for application by makingRichard Levitte2001-02-191-12/+14
| | | | | | | | | | | | 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.
* Do not insert things in syms{} and kind{} when parsing the headerRichard Levitte2001-02-191-86/+70
| | | | | files. Instead, insert proper information in the $def string, which will be properly munged later on.
* Various Win32 related fixed. Make no-krb5 work in mkdef.pl .Dr. Stephen Henson2001-02-091-3/+5
| | | | | | | | Fix warning in apps/engine.c Remove definitions of deleted functions. Add missing definition of X509_VAL.
* Various updates to mkdef.pl to cope with new aesDr. Stephen Henson2001-02-091-7/+39
| | | | and ASN1 code.
* Remove RSAref-related things.Richard Levitte2000-12-311-11/+0
|
* Enhancements to mkdef.pl:Richard Levitte2000-12-291-15/+50
| | | | | | | | | * 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.
* Various Win32 related fixes. Doesn't compile yet onDr. Stephen Henson2000-12-211-0/+7
| | | | | | | | | | | | | | 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.
* Make mkdef.pl parse some ASN1 IMPLEMENT macros.Dr. Stephen Henson2000-12-161-3/+19
| | | | Initial support for variables in DEF files.
* Get the Rijndael function declarations.Richard Levitte2000-11-141-0/+1
|
* Detect and mark functions that no longer exist.Richard Levitte2000-11-141-1/+19
|
* Add Rijndael as things to look through.Richard Levitte2000-11-141-2/+6
|
* Remove references to RSAref. The glue library is but a memory to fadeRichard Levitte2000-11-081-2/+2
| | | | away now...
* The majority of the OCSP code from CertCo.Richard Levitte2000-10-271-0/+1
|
* Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte2000-10-261-0/+1
| | | | At the same time, add VMS support for Rijndael.
* When creating a .def file, be a bit more selective so disabledRichard Levitte2000-09-251-3/+23
| | | | algorithms do not get in...
* Wrong variable used. It's funny how some bugs take a long timeRichard Levitte2000-09-201-1/+1
| | | | getting triggered...
* Oops, no engine in the main trunk.Richard Levitte2000-09-171-1/+0
|
* Tell users that a rewrite might be a good idea.Richard Levitte2000-09-171-0/+4
|
* mkdef.pl still needed better logic. Also, the semantics of theRichard Levitte2000-09-111-8/+49
| | | | | | | platforms list is clarified (it's however not quite followed in the RSAREF case...). RSAREF is also checked now.
* mkdef.pl has erroneous conditions to check if a symbol is excludedRichard Levitte2000-09-111-8/+9
| | | | from the given target. Fixed, I hope.
* Major hack of mkdef.pl. There should be no more need to redo theRichard Levitte2000-09-071-177/+501
| | | | | | | | | 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.
* New option 'ctestall' for mkdef.pl, that makes it not only generateRichard Levitte2000-08-171-11/+17
| | | | | | 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.
* MD4 implemented. Assar Westerlund provided the digest code itself and the ↵Richard Levitte2000-08-141-1/+7
| | | | test utility, I added the bits to get a EVP interface, the command line utility and the speed test
* Fixes for Win32 build.Dr. Stephen Henson2000-06-211-29/+2
| | | | | | | | | | | | | | | | | This is mostly a work around for the old VC++ problem that it treats func() as func(void). Various prototypes had been added to 'compare' function pointers that triggered this. This could be fixed by removing the prototype, adding function pointer casts to every call or changing the passed function to use the expected arguments. I mostly did the latter. The mkdef.pl script was modified to remove the typesafe functions which no longer exist. Oh and some functions called OPENSSL_freeLibrary() were changed back to FreeLibrary(), wonder how that happened :-)
* First of all, with the current macros, we should never get anyRichard Levitte2000-06-181-2/+8
| | | | | | type-specific stack function. Second, even when we don't build any of those functions, DECLARE_STACK_OF lines should not find themselves into $def.
* This change will cause builds (by default) to not use different STACKGeoff Thorpe2000-06-011-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | structures and functions for each stack type. The previous behaviour can be enabled by configuring with the "-DDEBUG_SAFESTACK" option. This will also cause "make update" (mkdef.pl in particular) to update the libeay.num and ssleay.num symbol tables with the number of extra functions DEBUG_SAFESTACK creates. The way this change works is to accompany each DECLARE_STACK_OF() macro with a set of "#define"d versions of the sk_##type##_*** functions that ensures all the existing "type-safe" stack calls are precompiled into the underlying stack calls. The presence or abscence of the DEBUG_SAFESTACK symbol controls whether this block of "#define"s or the DECLARE_STACK_OF() macro is taking effect. The block of "#define"s is in turn generated and maintained by a perl script (util/mkstack.pl) that encompasses the block with delimiting C comments. This works in a similar way to the auto-generated error codes and, like the other such maintenance utilities, is invoked by the "make update" target. A long (but mundane) commit will follow this with the results of "make update" - this will include all the "#define" blocks for each DECLARE_STACK_OF() statement, along with stripped down libeay.num and ssleay.num files.
* Missing cases when no_rsa is definedUlf Möller2000-05-151-9/+22
| | | | Submitted by: Zeroknowledge
* This commit ties the new DSO code (crypto/dso/) into the build for aGeoff Thorpe2000-04-041-0/+1
| | | | | | | | | | | | | | | | | | | | | variety of platforms. A few are missing, and they will be added in eventually, but as this is new stuff, it was better to not break lots of platforms in one go that we can't easily test. The changes to "Configure" should illustrate how to add support to other systems if you feel like having a go. NB: I'll add something shortly to allow you to add "dlfcn.h" support on those platforms that don't have (or need) a dlfcn.h header file. (The symbol for Configure will probably by "dlfcn_no_h"). Thanks to Richard Levitte, who is responsible for the dso_dl.c support, understanding the trickier aspects of the build process, and giving great feedback on everything else. [Don't use this stuff if you're easily offended by changes to the interface or behaviour - it's still work in progress.] PR:
* Fix so Win32 compiles again...Dr. Stephen Henson2000-02-271-0/+1
|
* New functions and option to use NEW in certificate requests.Dr. Stephen Henson2000-02-181-0/+12
|
* Add -pass argument to 'enc'.Dr. Stephen Henson2000-02-171-1/+0
| | | | Fix to make Win32 compile work again.
* Honor the no-xxx Configure options when creating .DEF files.Ulf Möller2000-01-071-19/+61
|
* Fixes so NO_RSA works again.Dr. Stephen Henson1999-12-241-1/+42
|
* Handle "#if 0" correctly (I hope)Bodo Möller1999-09-031-0/+6
|
* Various changes to stop VC++ choking under Win32.Dr. Stephen Henson1999-07-111-0/+1
|
* Change the PEM_* function prototypes to use DECLARE_PEM macros and changeDr. Stephen Henson1999-06-221-0/+8
| | | | util/mkdef.pl to handle this. Also do a 'make update'.
* Use the same path to perl in all #! lines in util.Bodo Möller1999-06-071-1/+1
|
* Oops. Close the file.Ulf Möller1999-05-131-0/+1
|
* mk1mf.pl and mkdef.pl read OPTIONS from toplevel Makefile.Ulf Möller1999-05-131-1/+8
| | | | Configure no longer changes files in place.
* Various Win32 fixes. Win95 doesn't support MoveFileEx() (which was used for aDr. Stephen Henson1999-05-081-1/+3
| | | | | | Win32 version of rename() ). There isn't a precise rename() equivalent under Win95: the standard rename() complains if the destination already exists so replaced with a combination of unlink() and MoveFile().
* no-xxx option to exclude ciphers.Ulf Möller1999-05-081-26/+51
|
* Generate DLLs with Mingw32.Ulf Möller1999-05-071-6/+10
|
* Extensively changed the DEF file generator mkdef.pl to use a modified versionDr. Stephen Henson1999-04-261-164/+155
| | | | | | | | of Ulf's prototype parser, also general tidying and fixing of several problems with the original. Its still a bit of a hack but should work. This is the last bit of the old code that uses the K&R prototypes: after some testing they can finally go away...
* Various fixes so Win32 compile may work. Convert GeneralNames to use safe stack.Dr. Stephen Henson1999-04-201-1/+1
|
* Add some utilities to support SXNet extension also add support in DEF filesDr. Stephen Henson1999-04-141-1/+29
| | | | generator to typesafe stacks.
* Include pkcs12 program as part of openssl. This completes most of the PKCS#12Dr. Stephen Henson1999-03-291-0/+1
| | | | integration.
* Various fixes to Win32, update ssleay.num, libeay.num, shuffle various #ifdefsDr. Stephen Henson1999-03-081-1/+1
| | | | around so more options appear in e_os.h
* Fix the Win32 compile environment and add various changes so it will now compileDr. Stephen Henson1999-03-031-21/+33
| | | | | under Win32 (9X and NT) again. Note: some signed/unsigned changes recently checked in were killing the Win32 compile.
* Make the 'crypto' and 'ssl' options in the perl script mkdef.pl really work,Dr. Stephen Henson1999-02-111-6/+57
| | | | | also add an 'update' option to automatically append any new functions to the ssleay.num and libeay.num files.