summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | reformat using 'openssl x509 -text -fingerprint -sha1' and sort byjakob2006-06-071-2551/+2356
| | | | | | | | | | | | | | | | 'openssl x509 -hash'. ok beck@
* | | | Fix 'double by a factor of two' and make cache options a bit morepedro2006-06-061-4/+4
| | | | | | | | | | | | | | | | descriptive while at it, input and okay jmc@
* | | | strtoul() -> strtonum(). Also change iflag to unsigned int, sinceray2006-06-021-23/+21
| | | | | | | | | | | | | | | | | | | | | | | | sleep takes an unsigned integer. OK moritz@, jaredy@, and dhill@
* | | | start sentence with a capital letter;jmc2006-06-011-2/+2
| | | |
* | | | fix a !foo & bar.thib2006-05-191-2/+2
| | | | | | | | | | | | | | | | ok miod@, tedu@, pedro@
* | | | move an option to the right place;jmc2006-05-171-2/+2
| | | |
* | | | Don't forget to return 0 on success, doh.otto2006-05-162-2/+4
| | | |
* | | | Try harder to trigger an exception. On architectures where floating-pointkettenis2006-05-151-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | exceptions are deferred, we might not see the exception before another floating-point instruction is executed. This is especially true on the i387 where we don't see underflow/overflow until the result is stored into memory.
* | | | Fix the second malloc_ulimit regression: maintaining the free listotto2006-05-141-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | requires memory; try to make sure we have it. If all fails, leak instead of crash. Test case originally found by cloder@, fix tested by many.
* | | | Add a -hex option to 'rand' to output hexadecimal output.matthieu2006-05-142-2/+24
| | | | | | | | | | | | | | | | ok djm@ miod@, man page help from jmc@.
* | | | remove an 'is' from the comment to make the sentence correct.fkr2006-05-121-2/+2
| | | | | | | | | | | | | | | | ok jmc@, mbalmer@
* | | | Convert do {} while loop -> while {} for clarity. No binary changemillert2006-05-052-10/+10
| | | | | | | | | | | | | | | | on most architectures. From Oliver Smith. OK deraadt@ and henning@
* | | | backport checks for degenerate Diffie-Hellman public exponents fromdjm2006-05-049-1/+73
| | | | | | | | | | | | | | | | | | | | OpenSSL-0.9.8a, where they were added without a corresponding patch to 0.9.7 or an advisory! ok theo@ markus@
* | | | strtonum does not require limits.htedu2006-04-251-2/+1
| | | | | | | | | | | | | | | | spotted by ray some time ago
* | | | Do not leave an hole in the directory list if allocation of theotto2006-04-241-11/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | region succeeds, but allocation a required page dir failed. This can happen if we're really close to ulimit after allocation the region of the size requested. See malloc_ulimit1 regress test. Tested by many; thanks.
* | | | Hook new ulimit test casesotto2006-04-181-2/+2
| | | |
* | | | near ulimit test case 2otto2006-04-182-0/+46
| | | |
* | | | Near ulimit test case 1otto2006-04-182-0/+48
| | | |
* | | | delint; original from deraadt@ with fixes from tdeval@ and me;otto2006-04-181-43/+60
| | | | | | | | | | | | | | | | tested by quite a few developers. ok deraadt@
* | | | Clarify strlcpy code by explicitly naming variable `len' andray2006-04-181-5/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | separating out each step. Inspired during miscommunication with tedu@. OK deraadt@
* | | | fix badly broken code. okay millert@, deraadt@espie2006-04-171-7/+7
| | | |
* | | | Remove str2number(), use strtonum(3) instead.ray2006-04-141-44/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix some type mismatches. Replace magic numbers. Remove superfluous strlen(3) calls. Earlier diff OK kjell@, OK deraadt@
* | | | POSIX says tdelete() returns the parent of the deleted node. Sadly theotto2006-04-041-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | root node doesn't have a parent, and POSIX does not say what should be done in that case. Warn developers that different implementations may do different things.
* | | | When tdelete() is used to delete the root node, don't return amoritz2006-04-042-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | pointer to the freed root node, but return a pointer to the new root node. POSIX does not define, what should be returned in that case. Fixes Coverity CID 2528. ok millert@ otto@
* | | | be more careful with atoi() result; ok ottoderaadt2006-04-031-3/+5
| | | |
* | | | Use SIZE_MAX instead of SIZE_T_MAX, the latter is not POSIX andotto2006-04-022-4/+4
| | | | | | | | | | | | | | | | remove redundant check on size. ok millert@ deraadt@
* | | | Use NFILES for starting point instead of hardcoded constotto2006-04-011-2/+2
| | | |
* | | | (char)to{upper,lower}()deraadt2006-03-312-6/+6
| | | |
* | | | oldmask = sigprocmask(SIG_BLOCK, &mask, &oldmask);deraadt2006-03-311-1/+1
| | | | | | | | | | | | | | | | is not valid code; found by lint
* | | | Xr to strtonum(3), because vice versa is already the casegrunk2006-03-291-1/+2
| | | | | | | | | | | | | | | | ok jmc@ otto@
* | | | Add warning about malloc(num * size) and recommend calloc() instead,ray2006-03-261-5/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | or if malloc must be used suggest check. Get rid of "one". OK deraadt@ and jmc@, OK kjell@ to earlier version with "one"s.
* | | | hook telldirotto2006-03-251-2/+2
| | | |
* | | | telldir/seekdir regress tesst. Fails on -current, since seekdir(x),otto2006-03-252-0/+111
| | | | | | | | | | | | | | | | telldir() does not return x. This will we fixed.
* | | | Pass size of correct variable to memset().ray2006-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | From Alexey Dobriyan. OK otto@
* | | | Removes extraneous variables from getopt(3). Inspired by one ofray2006-03-151-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | David Hill's diffs. ok otto
* | | | make BN_is_prime() realise that 2 is, in fact, a prime number.djm2006-03-142-2/+6
| | | | | | | | | | | | | | | | from OpenSSL CVS; ok otto@ deraadt@
* | | | Hook up getcap test.ray2006-03-101-2/+2
| | | |
* | | | Regression test for truncated file.ray2006-03-103-0/+37
| | | | | | | | | | | | | | | | ok otto and millert
* | | | Avouid a race in atexit() handling by introducing a lock. Problemotto2006-02-222-10/+32
| | | | | | | | | | | | | | | | | | | | originally reported by Gergely Kovacs; help from dhartmei@; ok tedu@ millert@
* | | | quick path for free(0)espie2006-02-141-5/+5
| | | | | | | | | | | | | | | | `looks to be safe' millert, okay tedu.
* | | | type correctness; from Ray Lai in PR 5011; ok millert@otto2006-02-111-2/+2
| | | |
* | | | remove obsolete code; from Ray Lai in PR 4998; ok tedu@ beck@otto2006-02-011-8/+1
| | | |
* | | | use "proxy_protocol" as the arg to -X, not "proxy_version";jmc2006-01-311-2/+2
| | | | | | | | | | | | | | | | from ray lai;
* | | | document posixness;jmc2006-01-302-9/+7
| | | | | | | | | | | | | | | | fixes pr #4996, from joachim schipper;
* | | | implement HTTP proxy authentication support, very useful in a ssh_configdjm2006-01-253-23/+95
| | | | | | | | | | | | | | | | ProxyCommand; ok beck@
* | | | Explicitly include limits.h if we are going to use its contents.millert2006-01-201-1/+2
| | | |
* | | | missing auxillary verbjakemsr2006-01-181-2/+2
| | | | | | | | | | | | | | | | "yes, that is correct." jmc@ (a while back)
* | | | Include limits.h directly instead of depending on another headermillert2006-01-172-2/+4
| | | | | | | | | | | | | | | | to include it for us.
* | | | Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELENmillert2006-01-171-2/+2
| | | |
* | | | back out previous - imaxabs is already listed;jmc2006-01-151-2/+1
| | | |