summaryrefslogtreecommitdiffstats
path: root/lib/libkeynote
AgeCommit message (Collapse)AuthorFilesLines
2021-01-18Move sessid definition to keynote-verify.c to avoid issues with -fno-commonmortimer2-3/+5
ok deraadt@
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt3-21/+21
value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
2017-08-28Add %option noinput to suppress an unused function warning.millert2-4/+4
Noticed by and OK ottot@
2017-07-05fix cross references to self; found with mandoc -Tlintschwarze1-12/+12
2017-07-02repair the tree, make sure y.tab.h is there before compiling yacc files.espie1-1/+3
problem noticed by deraadt@
2017-06-10remove lots of bogus escaping, some of which even broke the output;schwarze1-10/+10
found with mandoc -Tlint
2017-06-10fix imprecise .Fa markup; found with mandoc -Tlintschwarze1-4/+4
2017-05-09Prevent memory leak on sbuf by freeing it unconditionally and ensuremestre1-6/+6
finalbuf is also free'd if kn_encode_base64 somehow fails hint from tb@, OK millert@ and tb@
2017-04-27Remove useless check for ks_env_table being NULL. Since ks_env_tablemillert1-2/+2
is an array embedded in struct keynote_session it can never be NULL. Quiets a clang warning.
2016-03-30for some time now mandoc has not required MLINKS to functionjmc1-14/+1
correctly - logically complete that now by removing MLINKS from base; authors need only to ensure there is an entry in NAME for any function/ util being added. MLINKS will still work, and remain for perl to ease upgrades; ok nicm (curses) bcook (ssl) ok schwarze, who provided a lot of feedback and assistance ok tb natano jung
2015-12-23remove two NULL castsmmcc1-5/+3
2015-12-23Remove the rest of the scaffolding for nonexistent ElGamal support,mmcc1-17/+1
which has been disabled for sixteen years. ok millert@, tb@, sthen@
2015-12-23Remove NULL casts and tweak style in a few places. A more invasivemmcc1-87/+83
version of this diff was reviewed by tb@
2015-12-23remove a few NULL-checks before free()mmcc1-13/+7
2015-12-20Clean up a condition. No functional change. ok tb@mmcc1-4/+2
2015-12-19Style cleanup and removal of needless casts. ok tb@mmcc1-41/+31
2015-12-19More style improvement and removal of NULL/allocation casts.mmcc2-47/+26
ok tb@
2015-12-18Remove code for unimplemented ElGamel support that's been disabled formmcc1-20/+1
sixteen years. ok millert@, tb@, sthen@
2015-12-18A few more NULL casts and style tweaks. No functional change.mmcc1-20/+16
2015-12-18Cleanup and modernization. No functional change. Discussed with halex@.mmcc1-51/+34
2015-12-14Remove more needless casts of NULL and allocations.mmcc1-46/+35
2015-12-14Remove casts of allocations and NULL. There are a *ton* of these tommcc1-23/+19
remove in libkeynote, but I'm doing it in small chunks so I don't slip up. Previously discussed and approved on the lists, although I backed off after making a dumb mistake in a mega-diff.
2015-12-14Remove NULL-checks before free().mmcc2-14/+8
2015-12-14s/begining/beginning/gmmcc1-2/+2
2015-11-20No longer direct bug reports to keynote@research.att.com - it bounces mail.mmcc4-24/+8
"fair enough" jmc@
2015-11-19lexer fixes to work with new flex. from Serguey Parkhomovskytedu2-4/+2
2015-11-19Fix typo in previous commitguenther1-2/+2
2015-11-19Remove a sixteen-year-old testing macro.mmcc1-18/+1
"yes." deraadt@
2015-11-19Remove a ton of ugly, needless casts for NULL, calloc(), and strdup().mmcc8-195/+195
No binary change.
2015-11-18Remove memory.h includes.mmcc2-4/+2
ok deraadt@
2015-11-10update NAME section to include all documented functions,jmc1-4/+29
or otherwise change Dt to reflect the name of an existing function; feedback/ok schwarze
2015-09-23fix function argument.sobrado1-3/+3
ok jmc@, schwarze@
2015-09-14Avoid .Ns right after .Pf, it's pointless.schwarze2-7/+7
In some cases, do additional cleanup in the immediate vicinity.
2015-09-10use .In rather than .Fd #includeschwarze2-10/+10
2015-02-04Replace realloc() with reallocarray() in libkeynote. Do not freebluhm1-7/+4
keynote_lex_list after it has been reallocated. Found by Benjamin Baier with llvm/scan-build; OK florian@
2014-12-05macro cleanup: remove bogus .Nm and split joint .Fn argumentsschwarze2-17/+41
2014-10-08obvious reallocarray()deraadt1-3/+3
2014-09-17diff From: Theo Buehler who notes of kn_encode_base64():jmc1-4/+2
"Since the function is a simple wrapper around b64_ntop(), there is no restriction on the possible lengths of the raw data in `src'." ok millert
2013-11-29fairly simple unsigned char casts for ctypederaadt5-12/+12
ok krw
2013-11-13correct types for arguments to the x509 functionsderaadt1-5/+6
ok markus
2013-07-16use .Mt for email addresses; from Jan Stary <hans at stare dot cz>; ok jmc@schwarze4-14/+14
2013-07-16more macro simplification; from Jan Staryjmc2-16/+9
2012-12-21remove makefile hacks that are no longer needed with t1 t2: working properlyespie1-6/+3
okay krw@
2012-09-27last stage of rfc changes, using consistent Rs/Re blocks, and moving thejmc4-62/+72
references into a STANDARDS section;
2012-08-15use Lk for links;jmc4-12/+12
2012-08-02remove leftover NOLINT, WANTLINT, LINTFLAGS, LOBJ vars and lint targets.okan1-2/+1
ok guenther@
2012-07-11make -j# fix, I had this forever actually.espie1-3/+6
okay millert@
2011-09-29ssl.8: Certifying Authority -> Certificate Authorityjmc1-5/+4
isakmpd.8: rsa:1024 -> rsa:2048 (ok markus) all: X509 -> X.509 from Lawrence Teo
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'miod2-4/+4
for chars.
2010-12-22seemingly the "Decentralized Trust Management" paper comes from thejmc4-12/+12
IEEE Symposium on Security and Privacy, not the IEEE Conference on Privacy and Security; from Lawrence Teo