summaryrefslogtreecommitdiff
path: root/util
Commit message (Collapse)AuthorAgeFilesLines
* Avoid problems with multi-line NAME sections.bodo2001-03-081-0/+2
|
* Throw out *all* absolute pathnames, not matter what they look like.bodo2001-03-081-2/+1
| | | | | The filenames we are interested in for Makefile dependencies are always relative.
* Sort openssl.ec, the configuration file for mkerr.pl.bodo2001-03-081-0/+1
| | | | | Change mkerr.pl so that it puts the ERR_load_..._strings() prototype in header files that it writes.
* More method functions for EC_GFp_simple_method.bodo2001-03-081-1/+0
|
* Forgot a '$'.ulf2001-03-061-1/+1
|
* DECulf2001-03-061-0/+1
|
* Sort platforms lexicographically as well. Also, support more than twolevitte2001-03-023-25/+29
| | | | variants of a symbol.
* Introduce the possibility to access global variables throughlevitte2001-03-023-257/+615
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* run self-test with no-krb5ulf2001-02-271-0/+1
|
* make updatelevitte2001-02-262-32/+34
| | | | | Note that all *_it variables are suddenly non-existant according to libeay.num. This is a bug that will be corrected. Please be patient.
* e_os.h does not belong with the exported headers. Do not put it therelevitte2001-02-222-6/+6
| | | | | | | | and make all files the depend on it include it without prefixing it with openssl/. This means that all Makefiles will have $(TOP) as one of the include directories.
* When inside a #if 0..#endif, do not define anything.levitte2001-02-221-107/+108
|
* This change allows a callback to be used to override the generation ofgeoff2001-02-211-0/+3
| | | | | | | | | | | | | | | | | | | | SSL/TLS session IDs in a server. According to RFC2246, the session ID is an arbitrary value chosen by the server. It can be useful to have some control over this "arbitrary value" so as to choose it in ways that can aid in things like external session caching and balancing (eg. clustering). The default session ID generation is to fill the ID with random data. The callback used by default is built in to ssl_sess.c, but registering a callback in an SSL_CTX or in a particular SSL overrides this. BTW: SSL callbacks will override SSL_CTX callbacks, and a new SSL structure inherits any callback set in its 'parent' SSL_CTX. The header comments describe how this mechanism ticks, and source code comments describe (hopefully) why it ticks the way it does. Man pages are on the way ... [NB: Lutz was also hacking away and helping me to figure out how best to do this.]
* 'make update'levitte2001-02-212-9/+15
|
* Modify mkdef.pl to recognise and parse prprocessor conditionals of thelevitte2001-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).
* I had forgotten to change mkerr.pl to use the new macro system.levitte2001-02-211-3/+3
|
* Make all configuration macros available for application by makinglevitte2001-02-197-71/+73
| | | | | | | | | | | | 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.
* Remove temporary files when done.levitte2001-02-191-1/+1
|
* make updatelevitte2001-02-191-69/+163
|
* Do not insert things in syms{} and kind{} when parsing the headerlevitte2001-02-191-86/+70
| | | | | files. Instead, insert proper information in the $def string, which will be properly munged later on.
* Make the choice of "makedepend" program choosable through a switch.levitte2001-02-191-2/+5
|
* Make it possible to use gcc to generate the dependency tables.levitte2001-02-162-4/+18
|
* Various Win32 related fixed. Make no-krb5 work in mkdef.pl .steve2001-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 aessteve2001-02-091-7/+39
| | | | and ASN1 code.
* The option line may start with a space, which gives an empty option.levitte2000-12-311-1/+1
| | | | Make sure those are purged...
* Look for no-krb5 and add the definition of NO_KRB5 if it's there.levitte2000-12-311-0/+3
| | | | | | I've no idea were the KRB5 header files and libraries are placed on Win32. When there's better knowledge, we might be able to process the other KRB5-related arguments as well...
* Remove RSAref-related things.levitte2000-12-314-23/+17
|
* Remove anything connected to RSAref, since that's gone by now.levitte2000-12-311-16/+5
| | | | | Add the C macros OPENSSL_BUILD_SHLIBCRYPTO and OPENSSL_BUILD_SHLIBSSL to the build of the object files as appropriate for each library.
* "make update" plus a rewrite of both .num files.levitte2000-12-292-190/+382
|
* Enhancements to mkdef.pl: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 onsteve2000-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.steve2000-12-161-3/+19
| | | | Initial support for variables in DEF files.
* "Andrew W. Gray" <agray@iconsinc.com> says /GD is no longer a validulf2000-12-151-1/+1
| | | | compiler switch.
* Don't check for bc at all. We can now run a meaningful test even ifulf2000-12-061-7/+0
| | | | it is missing.
* During the self test, we only want to know what bctest says onlevitte2000-12-061-1/+1
| | | | stderr...
* Have the self test use bctest to check that bc is sane.levitte2000-12-061-1/+1
|
* Fix BN_is_... macros.bodo2000-11-271-0/+8
| | | | | | | Fix BN_gcd. Analyze BN_mod_inverse. Add BN_kronecker. "make update".
* modular arithmeticsbodo2000-11-261-0/+4
| | | | "make update"
* make updatelevitte2000-11-141-11/+17
|
* Get the Rijndael function declarations.levitte2000-11-141-0/+1
|
* Detect and mark functions that no longer exist.levitte2000-11-141-1/+19
|
* Add Rijndael as things to look through.levitte2000-11-143-2/+8
|
* Remove references to RSAref. The glue library is but a memory to fadelevitte2000-11-086-8/+12
| | | | away now...
* make updatelevitte2000-10-271-0/+107
|
* The majority of the OCSP code from CertCo.levitte2000-10-272-0/+2
|
* Merge the engine branch into the main trunk. All conflicts resolved.levitte2000-10-263-0/+65
| | | | At the same time, add VMS support for Rijndael.
* make updatelevitte2000-10-211-0/+1
|
* The experimental Rijndael code moved to the main trunk.levitte2000-10-141-0/+1
| | | | make update done.
* make updatelevitte2000-10-131-0/+2
|
* fix problems in the selftestulf2000-10-111-0/+1
|