summaryrefslogtreecommitdiffstats
path: root/util
AgeCommit message (Collapse)Author
2000-10-27make updateRichard Levitte
2000-10-27The majority of the OCSP code from CertCo.Richard Levitte
2000-10-26Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte
At the same time, add VMS support for Rijndael.
2000-10-21make updateRichard Levitte
2000-10-14The experimental Rijndael code moved to the main trunk.Richard Levitte
make update done.
2000-10-13make updateRichard Levitte
2000-10-11fix problems in the selftestUlf Möller
2000-09-25UpdateRichard Levitte
2000-09-25When creating a .def file, be a bit more selective so disabledRichard Levitte
algorithms do not get in...
2000-09-24Change the Windows building scripts to enable DSO_WIN32.Richard Levitte
2000-09-23print the perlasm rule only for linux-elf (it seems it confuses someUlf Möller
version of make for Mingw32) ---------------------------------------------------------------------- ----------------------------------------------------------------------
2000-09-21Ugly hack to make sure static libraries are usable. Without this,Richard Levitte
anything that just links with libeay32.lib or libssl32.lib will get an error saying the __imp__RegQueryValueEx is unresolved. The right thing would really be to fix crypto/rand/rand_win.c to load ADVAPI32.DLL dynamically, but that won't be done just before a release.
2000-09-20Wrong variable used. It's funny how some bugs take a long timeRichard Levitte
getting triggered...
2000-09-20On VMS, stdout may very well lead to a file that is written to in aRichard Levitte
record-oriented fashion. That means that every write() will write a separate record, which will be read separately by the programs trying to read from it. This can be very confusing. The solution is to put a BIO filter in the way that will buffer text until a linefeed is reached, and then write everything a line at a time, so every record written will be an actual line, not chunks of lines and not (usually doesn't happen, but I've seen it once) several lines in one record. Voila, BIO_f_linebuffer() is born. Since we're so close to release time, I'm making this VMS-only for now, just to make sure no code is needlessly broken by this. After the release, this BIO method will be enabled on all other platforms as well.
2000-09-17Oops, no engine in the main trunk.Richard Levitte
2000-09-17Tell users that a rewrite might be a good idea.Richard Levitte
2000-09-15'make update'Richard Levitte
2000-09-11mkdef.pl still needed better logic. Also, the semantics of theRichard Levitte
platforms list is clarified (it's however not quite followed in the RSAREF case...). RSAREF is also checked now.
2000-09-11mkdef.pl has erroneous conditions to check if a symbol is excludedRichard Levitte
from the given target. Fixed, I hope.
2000-09-11I started with a make update, but a rewrite was actually needed.Richard Levitte
Perhaps we should make rewrites the default thing to do?
2000-09-07*.num rewitten to include the extra information.Richard Levitte
2000-09-07Major hack of mkdef.pl. There should be no more need to redo theRichard Levitte
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.
2000-09-06'make update'Bodo Möller
2000-09-04Avoid abort() throughout the library, except when preprocessorBodo Möller
symbols for debugging are defined.
2000-08-17New option 'ctestall' for mkdef.pl, that makes it not only generateRichard Levitte
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.
2000-08-14MD4 implemented. Assar Westerlund provided the digest code itself and the ↵Richard Levitte
test utility, I added the bits to get a EVP interface, the command line utility and the speed test
2000-08-02"make update"Richard Levitte
2000-07-24This isn't entirely necessary if you do everything right from theRichard Levitte
start, but can save you some trouble. Just ignore "shared" if it comes up among the given options, at least for now...
2000-07-24"make update"Richard Levitte
2000-07-24Show the running line count and definition cont in debug mode. ThatRichard Levitte
has helped me a bit when I ran into trouble.
2000-07-21Profiling option for mk1mf.plUlf Möller
2000-06-22Change mkstack.pl so it now sorts each groupDr. Stephen Henson
into lexical order. Previously it depended on the order of files in the directory. This should now mean that all systems will agree on the order of safestack.h and will not change it needlessly and avoid massive needless commits to safestack.h in future. It wont however avoid this one :-(
2000-06-21Fixes for Win32 build.Dr. Stephen Henson
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 :-)
2000-06-20Handle ASN1_SET_OF and PKCS12_STACK_OF using functionDr. Stephen Henson
casts in the same way as STACK_OF.
2000-06-19'make update'Richard Levitte
2000-06-18Add support for dynamically created and destroyed mutexes. This willRichard Levitte
be needed in some ENGINE code, and might serve elsewhere as well. Note that it's implemented in such a way that the locking itself is done through the same CRYPTO_lock function as the static locks. WARNING: This is currently experimental and untested code (it will get tested soon, though :-)).
2000-06-18First of all, with the current macros, we should never get anyRichard Levitte
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.
2000-06-17Using speaking "variable" names in macros so that e.g. grepping forBodo Möller
sk_whatever_insert and sk_whatever_set immediately reveals the subtle difference in parameter order. Change mkstack.pl so that safestack.h is not rewritten when nothing has changed.
2000-06-16Safe stack reorganisation in terms of function casts.Dr. Stephen Henson
After some messing around this seems to work but needs a few more tests. Working out the syntax for sk_set_cmp_func() (cast it to a function that itself returns a function pointer) was painful :-( Needs some testing to see what other compilers think of this syntax. Also needs similar stuff for ASN1_SET_OF etc etc.
2000-06-16Currently the DSO_METHOD interface has one entry point to bind allGeoff Thorpe
"symbols" including functions (of all prototypes( and variables. Whilst casting any function type to another violates ANSI C (I believe), it is a necessary evil in shared-library APIs. However, it is quite conceivable that functions in general and data symbols could very well be represented differently to each other on some systems, as Bodo said; > Since the function/object distinction is a lot more likely to be > important on real-life platforms supporting DSO *and* it can be quite > easily done *and* it will silence compilers that don't like > assignments from void pointers to function pointer variables, why > not do it? I agree. So this change splits the "dso_bind" handler in DSO_METHOD into "dso_bind_var" and "dso_bind_func". Similarly the exported function DSO_bind() has been split in two. I've also put together changes for the various DSO_METHOD implementations, but so far only DSO_dlfcn() has been tested. BTW: The prototype for dso_bind had been a bit strange so I've taken the opportunity to change its shape (in both variations). Also, the README has been updated - particularly with a note about using customised native name-translation for shared libraries (and that you can't do it yet).
2000-06-15Add support for the modified SGC key format used in IIS.Dr. Stephen Henson
2000-06-14Report "error" (usually just "File exists", which is harmless)Bodo Möller
when symlink() fails.
2000-06-13Enable DSO support on alpha (OSF1), cc and gcc.Geoff Thorpe
Also, "make update" has added some missing functions to libeay.num, updated the TABLE for the alpha changes, and updated thousands of dependancies that have changed from recent commits.
2000-06-08Slightly faster DSA verification (BN_mod_exp2_mont),Bodo Möller
marginally faster BN_mod_exp for 1024 bit exponents.
2000-06-06Increased consideration for stupid Linux users.Ulf Möller
2000-06-01"make update" + stripping the type-specific stack functions out ofGeoff Thorpe
libeay.num and ssleay.num.
2000-06-01This change will cause builds (by default) to not use different STACKGeoff Thorpe
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.
2000-05-31Result of "make update"Richard Levitte
2000-05-30"make update"Geoff Thorpe
Also, corrects the linux-elf-arm config string, it was previously setting $des_obj = dlfcn :-)
2000-05-29This declaration seems to have been added into the header file accidently.Geoff Thorpe
There's no trace of it being implemented and it doesn't seem to have been intended given that it is prototyped with a BIO yet there was a BIO- specific version added in at the same time.