Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | | Add warning about malloc(num * size) and recommend calloc() instead, | ray | 2006-03-26 | 1 | -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. | |||||
* | | | | Pass size of correct variable to memset(). | ray | 2006-03-22 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | From Alexey Dobriyan. OK otto@ | |||||
* | | | | Removes extraneous variables from getopt(3). Inspired by one of | ray | 2006-03-15 | 1 | -3/+1 | |
| | | | | | | | | | | | | | | | | | | | | | | | | David Hill's diffs. ok otto | |||||
* | | | | make BN_is_prime() realise that 2 is, in fact, a prime number. | djm | 2006-03-14 | 2 | -2/+6 | |
| | | | | | | | | | | | | | | | | from OpenSSL CVS; ok otto@ deraadt@ | |||||
* | | | | Avouid a race in atexit() handling by introducing a lock. Problem | otto | 2006-02-22 | 2 | -10/+32 | |
| | | | | | | | | | | | | | | | | | | | | originally reported by Gergely Kovacs; help from dhartmei@; ok tedu@ millert@ | |||||
* | | | | quick path for free(0) | espie | 2006-02-14 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | `looks to be safe' millert, okay tedu. | |||||
* | | | | document posixness; | jmc | 2006-01-30 | 2 | -9/+7 | |
| | | | | | | | | | | | | | | | | fixes pr #4996, from joachim schipper; | |||||
* | | | | missing auxillary verb | jakemsr | 2006-01-18 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | "yes, that is correct." jmc@ (a while back) | |||||
* | | | | Include limits.h directly instead of depending on another header | millert | 2006-01-17 | 2 | -2/+4 | |
| | | | | | | | | | | | | | | | | to include it for us. | |||||
* | | | | Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN | millert | 2006-01-17 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | back out previous - imaxabs is already listed; | jmc | 2006-01-15 | 1 | -2/+1 | |
| | | | | ||||||
* | | | | Xr imaxabs() | millert | 2006-01-14 | 1 | -1/+2 | |
| | | | | ||||||
* | | | | fix the .Fn line; ok millert | jmc | 2006-01-14 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | sort SEE ALSO; | jmc | 2006-01-14 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | Add lldiv(), imaxabs(), imaxdiv(), strtoimax() and strtoumax() | millert | 2006-01-13 | 17 | -74/+685 | |
| | | | | ||||||
* | | | | Return inf or nan as per printf() not Inf, Infinity or Nan (from dtoa) | millert | 2006-01-10 | 2 | -11/+15 | |
| | | | | | | | | | | | | | | | | Remove an extraneous check for dtoa returning Inf/Nan | |||||
* | | | | Use localeconv() to get the locale-specific radix char like printf does. | millert | 2006-01-10 | 1 | -3/+6 | |
| | | | | ||||||
* | | | | Nan and Infinity can be negative | millert | 2006-01-10 | 1 | -6/+12 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Decimal point was missing for some exponential output Only divide sign by 10 once per loop Add a missing NUL terminator for one case If there is no whole number portion, print a leading zero (e.g. 0.1 not .1) | |||||
* | | | | Currently sys/socket.h needs sys/types.h so add #include <sys/types.h> to | claudio | 2005-12-30 | 3 | -3/+6 | |
| | | | | | | | | | | | | | | | | | | | | the list of necessary includes. Now the manpages match reality. OK mpf@ millert@ | |||||
* | | | | Prototypes live in <search.h> | millert | 2005-12-23 | 1 | -1/+2 | |
| | | | | ||||||
* | | | | handle chroot and res_init calls better. diagnosis assistance from otto. | tedu | 2005-12-22 | 1 | -21/+18 | |
| | | | | | | | | | | | | | | | | ok deraadt otto. | |||||
* | | | | Use sysctl(KERN_ARND) to get n bytes, instead of just 4 at a time | otto | 2005-11-30 | 3 | -51/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | and remove fallback code. If somebody is dumb enough to make the sysctl fail using systrace, he deserves what he gets. Saves 7 syscalls on process startup. looks good miod@ ok deraadt@ tedu@ | |||||
* | | | | use WANTLINT= (on all architectures) | deraadt | 2005-11-24 | 2 | -2/+4 | |
| | | | | ||||||
* | | | | Do not clobber errno when calling close(2) in example code. | otto | 2005-11-15 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | | From form@ via mpech@ | |||||
* | | | | Use a forward declaration of struct timespec instead of assuming | millert | 2005-11-15 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | it has already been defined by previous includes. While this is true at the moment, it will no longer be true after a pending includes cleanup. OK marc@ | |||||
* | | | | save errno in example code. from mpech@ ok jmc@ | otto | 2005-11-13 | 1 | -1/+3 | |
| | | | | ||||||
* | | | | add $OpenBSD$ tags, as requested by dtucker. | espie | 2005-11-10 | 2 | -0/+2 | |
| | | | | ||||||
* | | | | Activate missing wcswidth, as noted by Alexander Bluhm. | espie | 2005-10-29 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | okay deraadt@, otto@ Minor bump (nobody stepped forward with other changes, so let's do this one) | |||||
* | | | | Remove obsolete comment. ok deraadt@ | otto | 2005-10-26 | 1 | -5/+1 | |
| | | | | ||||||
* | | | | clarifications from ray lai; | jmc | 2005-10-26 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | | tweaked by tedu@ and myself; | |||||
* | | | | dont' -> don't in comments; | jmc | 2005-10-25 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | from ray lai; | |||||
* | | | | fix MLINKS; | jmc | 2005-10-22 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | | | | | from andreas schweitzer (pr #4566); ok dtucker@ | |||||
* | | | | fix potential SSL 2.0 rollback ↵ | markus | 2005-10-11 | 2 | -6/+2 | |
| | | | | | | | | | | | | | | | | | | | | | | | | (http://www.openssl.org//news/secadv_20051011.txt) from http://www.openssl.org/news/patch-CAN-2005-2969.txt | |||||
* | | | | tidy up examples | jaredy | 2005-10-11 | 3 | -17/+16 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - use err() for error handling - add lint hints - spacing nits and missing braces ok otto | |||||
* | | | | fix a few warnings, keep the crypt stuff for later. | espie | 2005-10-10 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | okay otto@ | |||||
* | | | | Remove a few warnings. Those were not apparent thanks to a bug in gcc 2.95. | espie | 2005-10-10 | 1 | -3/+3 | |
| | | | | | | | | | | | | | | | | | | | | Patch by Leonardo Chiquitto Filho <leonardo@iken.com.br> Thanks. | |||||
* | | | | further knf and cleaning; ok tdeval | deraadt | 2005-10-05 | 1 | -382/+364 | |
| | | | | ||||||
* | | | | first KNF (no binary diffs) | deraadt | 2005-10-05 | 1 | -1322/+1356 | |
| | | | | ||||||
* | | | | rename OpenSSL blowfish.3 manpage to BF_set_key.3, so it doesn't clobber | djm | 2005-10-03 | 1 | -13/+13 | |
| | | | | | | | | | | | | | | | | libc manpage of the same name; reported and ok jmc@ | |||||
* | | | | `ether_addr' is the name of a structure, not a function: remove its MLINK | jmc | 2005-10-02 | 2 | -4/+3 | |
| | | | | | | | | | | | | | | | | and remove its entry from the .Nm list; | |||||
* | | | | add bf_{ecb,cbc}_{en,de}crypt to the .Nm list; | jmc | 2005-10-02 | 1 | -2/+6 | |
| | | | | ||||||
* | | | | add bcrypt_gensalt, bcrypt, and md5crypt, to the .Nm list; | jmc | 2005-10-02 | 1 | -2/+5 | |
| | | | | ||||||
* | | | | spelling: you missed this one david ;) | jmc | 2005-08-22 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | uncomment setlocale(3) entry; | jmc | 2005-08-12 | 1 | -2/+2 | |
| | | | | ||||||
* | | | | zap remaining rcsid. | espie | 2005-08-08 | 116 | -663/+111 | |
| | | | | | | | | | | | | | | | | | | | | | | | | Kill old files that are no longer compiled. okay theo | |||||
* | | | | activate LC_CTYPE for 8 bits locale. | espie | 2005-08-08 | 4 | -11/+18 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure tolower/toupper use the whole 8 bits. okay deraadt@ thanks to everyone who tested | |||||
* | | | | move non-standard COMPATIBILITY section to HISTORY, which seems more | jmc | 2005-08-07 | 1 | -10/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | | | relevant anyway; ok jaredy@ | |||||
* | | | | zap rcsid. | espie | 2005-08-06 | 47 | -375/+234 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | split functions off res_debug.c so that getnetnamadr.c does not pull it all when it's used. okay deraadt@, krw@ | |||||
* | | | | tell people that atexit is bad; ok jmc | deraadt | 2005-08-06 | 1 | -1/+7 | |
| | | | | ||||||
* | | | | add HISTORY; ok jmc | jaredy | 2005-08-06 | 1 | -1/+8 | |
| | | | |