summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/xmalloc.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bye, bye xfree(); ok markus@djm2013-05-171-2/+1
|
* almost entirely get rid of the culture of ".h files that include .h files"deraadt2006-08-031-6/+1
| | | | | ok djm, sort of ok stevesk makes the pain stop in one easy step
* standardise spacing in $OpenBSD$ tags; requested by deraadt@djm2006-03-251-1/+1
|
* change OpenSSH's xrealloc() function from being xrealloc(p, new_size) todjm2006-03-251-2/+2
| | | | | | | | xrealloc(p, new_nmemb, new_itemsize). realloc is particularly prone to integer overflows because it is almost always allocating "n * size" bytes, so this is a far safer API; ok deraadt@
* introduce xcalloc() and xasprintf() failure-checked allocations functionsdjm2006-03-251-1/+5
| | | | | | | | | | and use them throughout openssh xcalloc is particularly important because malloc(nmemb * size) is a dangerous idiom (subject to integer overflow) and it is time for it to die feedback and ok deraadt@
* KNF done automatically while reading....deraadt2002-06-191-2/+2
|
* $OpenBSD$ and RCSID() cleanup: don't use RCSID() in .h files; addstevesk2002-03-041-2/+2
| | | | | missing RCSID() to .c files and remove dup /*$OpenBSD$*/ from .c files. ok markus@
* remove comments from .h, since they are cut&paste from the .c filesmarkus2001-06-261-12/+5
| | | | and out of sync
* prototype pedant. not very creative...itojun2001-06-261-5/+5
| | | | | - () -> (void) - no variable names
* cleanup copyright notices on all files. I have attempted to be accurate withderaadt2000-09-071-6/+6
| | | | | | | the details. everything is now under Tatu's licence (which I copied from his readme), and/or the core-sdi bsd-ish thing for deattack, or various openbsd developers under a 2-term bsd licence. We're not changing any rules, just being accurate.
* OpenBSD tagmarkus2000-06-201-1/+1
|
* whitespace cleanupmarkus2000-04-141-7/+7
|
* much more KNFderaadt1999-11-241-21/+21
|
* i bet a lot of people didn't know what ssh 1.2.16 had a nice license.deraadt1999-09-261-0/+34
well, except for the patent issues. someone in sweden (forget their name at the moment) cleaned out most of the patented code, and now this code removes rsa code. when this is done, it will link against libssl, but the work isn't completely done yet. then we need to bring this up to modern days, featurewise.