aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* There's a slight possibility that a is 0 in BN_sub_word(), and mightRichard Levitte2000-07-271-1/+1
| | | | | therefore have unallocated parts. Therefore, a check for the 0 case is needed, resulting with the same thing as when a is negative.
* In the case where a < 0 and |a| < w, the result (assigned to a) fromRichard Levitte2000-07-271-1/+1
| | | | | BN_add_word becomes wrongly negative... This was discovered by Darrel Hankerson <dhankers@cacr.math.uwaterloo.ca>
* Looks like Win32 builds do not define THREADS. However, they're stillRichard Levitte2000-07-271-1/+1
| | | | | supporting threads, which means that th assertion is supperbly dangerous, so make sure it's not compiled under Win32, period.
* Add the possibility to get hexdumps of unprintable data when usingRichard Levitte2000-07-276-19/+94
| | | | | 'openssl asn1parse'. As a side effect, the functions ASN1_parse_dump and BIO_dump_indent are added.
* Fix a bug in the new i2d_{ENUMERATED,INTEGER} thatDr. Stephen Henson2000-07-272-0/+2
| | | | didn't recognise NULL to mean 'don't output anything'
* When data are written out in very small blocks (less than 3 bytes inRichard Levitte2000-07-261-4/+11
| | | | | | | size) through the base64 filter, b64_write() messes up it's parameters in such a way that instead of writing correct base64 output, the first 4 characters of that output is repeated over and over. This fix corrects that problem.
* There's a deadlock when ssleay_rand_bytes is called the first time, sinceRichard Levitte2000-07-261-4/+14
| | | | | | | | it wants to stir the pool using ssleay_rand_add. This fix provides the possibility to call ssleay_rand_add inside a locked state by simply telling it not to do any locking through a static variable. This isn't the most elegant way one could do this, but it does retain thread safety during the stirring process.
* Fix warnings.Dr. Stephen Henson2000-07-262-2/+2
| | | | | | In crypto/err/err.c need to initialise p to NULL in case thread_hash is NULL. Otherwise p will be uninitialized.
* Make NEG_PUBKEY_BUG on by default.Dr. Stephen Henson2000-07-269-49/+108
| | | | | | ASN1_TIME fixes. New function c2i_ASN1_OBJECT().
* Darrel Hankerson <dhankers@cacr.math.uwaterloo.ca> correctly discoveredRichard Levitte2000-07-261-1/+1
| | | | | that of the result pointer to bn_mul was the same as one of the two arguments, That argument might have it's sign destroyed. He provided this fix.
* Avoid a race condition if another thread happens to remove the errorRichard Levitte2000-07-251-5/+8
| | | | state at the same time.
* Add support for solaris shared libraries, currently just experimentalRichard Levitte2000-07-241-0/+18
| | | | (there's no way to get it through configuration yet).
* Avoid loops, and make sure that it's possible to still build sharedRichard Levitte2000-07-242-10/+23
| | | | libraries even if the "shared" configuration option wasn't chosen.
* This isn't entirely necessary if you do everything right from theRichard Levitte2000-07-241-0/+1
| | | | | start, but can save you some trouble. Just ignore "shared" if it comes up among the given options, at least for now...
* "make update"Richard Levitte2000-07-245-33/+243
|
* Add a note on installation under Win32.Richard Levitte2000-07-241-0/+29
|
* Show the running line count and definition cont in debug mode. ThatRichard Levitte2000-07-241-1/+11
| | | | has helped me a bit when I ran into trouble.
* Profiling option for mk1mf.plUlf Möller2000-07-212-3/+8
|
* crypto/err.c bugfixBodo Möller2000-07-211-0/+4
|
* Redo and enhance the support for building shared libraries. CurrentlyRichard Levitte2000-07-215-53/+234
| | | | | | | | | | | | | | | | | | | | | there's support for building under Linux and True64 (using examples from the programming manuals), including versioning that is currently the same as OpenSSL versions but should really be a different series. With this change, it's up to the users to decide if they want shared libraries as well as the static ones. This decision now has to be done at configuration time (well, not really, those who know what they do can still do it the same way as before). The OpenSSL programs (openssl and the test programs) are currently always linked statically, but this may change in the future in a configurable manner. The necessary makefile variables to enable this are in place. Also note that I have done absolutely nothing about the Windows target to get something similar. On the other hand, DLLs are already the default there, but without versioning, and I've no idea what the possibilities for such a thing are there...
* Bugfix: use write locks, not just read locksBodo Möller2000-07-211-8/+8
|
* We do PKCS8 as wellRichard Levitte2000-07-211-0/+2
|
* oops.Ulf Möller2000-07-211-1/+1
|
* don't print debug outputUlf Möller2000-07-211-1/+0
|
* Move RNG initialization to RAND_poll(), and shared definitions toUlf Möller2000-07-192-121/+195
| | | | rand_lcl.h
* Randomness polling function for Win9x.Ulf Möller2000-07-193-58/+331
|
* Document -purpose option in usage string.Bodo Möller2000-07-151-1/+1
|
* Make req seed the PRNG if signing withDr. Stephen Henson2000-07-124-1/+58
| | | | | | an already existing DSA key. Document the new smime options.
* FAQ about ar "missing" on Solaris.Richard Levitte2000-07-111-0/+18
|
* Add an early reference to BN_CTX_new so that the usage of BN_CTX_startBodo Möller2000-07-111-1/+2
| | | | is easier to grasp.
* Fix some typose in the i2d/d2i functions thatDr. Stephen Henson2000-07-107-13/+75
| | | | | | | | | | | | | call the i2c/c2i (they were not using the content length for the headers). Fix ASN1 long form tag encoding. This never worked but it was never tested since it is only used for tags > 30. New options to smime program to allow the PKCS#7 format to be specified and the content supplied externally.
* Corrected small bug that could add ',L' when it shouldn'tRichard Levitte2000-07-082-3/+14
|
* New ASN1 functions that just deal withDr. Stephen Henson2000-07-075-179/+147
| | | | content octets, not tag+length.
* More experiments show that you can set your data segment size softRichard Levitte2000-07-051-10/+19
| | | | limit higher and thereby get through compilation of sha_dgst.c.
* Change the FAQ entry a bit, giving the details as I observed them.Richard Levitte2000-07-051-3/+15
|
* Document the change.Richard Levitte2000-07-051-0/+17
|
* I got sick and tired of having to keep track of NIDs when such a thingRichard Levitte2000-07-0525-1858/+5846
| | | | | | | | | | | | | | | | | | could be done automagically, much like the numbering in libeay.num and ssleay.num. The solution works as follows: - New object identifiers are inserted in objects.txt, following the syntax given in objects.README. - objects.pl is used to process obj_mac.num and create a new obj_mac.h. - obj_dat.pl is used to create a new obj_dat.h, using the data in obj_mac.h. This is currently kind of a hack, and the perl code in objects.pl isn't very elegant, but it works as I intended. The simplest way to check that it worked correctly is to look in obj_dat.h and check the array nid_objs and make sure the objects haven't moved around (this is important!). Additions are OK, as well as consistent name changes.
* BeautificationRichard Levitte2000-07-051-6/+6
|
* Add a blurb on how to solve the problem with failing compiltaion of ↵Richard Levitte2000-07-041-0/+24
| | | | sha_dgst.c on Alpha True64 Unix
* Add PRNGD link.Ulf Möller2000-07-031-0/+4
|
* Update STATUS.Dr. Stephen Henson2000-07-021-1/+2
|
* Return bignum '0' when BN_rand is asked for a 0 bit random number.Bodo Möller2000-07-021-0/+6
|
* Fix code structure (if ... else if ... where both partsBodo Möller2000-07-021-5/+9
| | | | may be disabled by preprocessor symbols)
* Don't dereference NULL pointers.Bodo Möller2000-07-021-2/+2
| | | | Submitted by: bowe@chip.ma.certco.com
* Don't let top go below zero!Ben Laurie2000-07-011-1/+1
|
* Use up-to-date functions.Ben Laurie2000-07-011-7/+56
|
* Give the user the option to measure real time instead of user CPU time.Richard Levitte2000-06-301-71/+88
|
* Undo the changes I just made. I'm not sure what I was thinking of.Richard Levitte2000-06-2811-139/+23
| | | | The message to everyone is "Do not hack OpenSSL when stressed"...
* Document my latest changes.Richard Levitte2000-06-281-0/+9
|
* Make it possible for users of the openssl applications to specify theRichard Levitte2000-06-289-23/+119
| | | | EGD should be used as seeding input, and where the named socket is.