summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/key.c
AgeCommit message (Collapse)Author
2007-03-05Set pointer to NULL after freeing it, so callers ofMoritz Jodeit
key_from_printable() are not fooled into using it afterwards. OK hshoexer@
2005-11-15Be cleaner about signed vs. unsigned when it's easy to do so. OK hshoexerChad Loder
2005-11-15Add a new raw2hex function and yank out several pieces of code in otherChad Loder
places that were doing this. Prodding deraadt. OK hshoexer.
2005-04-08Make deterministic randomness (only ever used for testing) a compile-timeChad Loder
option. Reduces chances of somehow setting regrand when it's not supposed to be set. Remove "-r" option from man page. Also xref certpatch(8) while we are in there. And remove some include sysdep.h where it is no longer needed. OK hshoexer
2005-04-05Always compile X509 support. Almost everyone uses it. Makes the codeChad Loder
much easier to read and to maintain. OK and testing by hshoexer@, more testing by me
2004-12-28Correctly determine length of rsa key passed by the kernel to userland. FoundHans-Joerg Hoexer
and fix provided by Stefan Miltchev. Again, many thanks! Slightly different fix. ok ho@
2004-09-17Missing #ifdefs.Hakan Olsson
2004-06-14KNF, style, 80c, etc. hshoexer@ okHakan Olsson
2004-05-23More KNF. Mainly spaces and line-wraps, no binary change.Hans-Joerg Hoexer
ok ho@
2004-05-23greater care with argumentsTheo de Raadt
2004-04-15partial move to KNF. More to come. This has happened because thereTheo de Raadt
are a raft of source code auditors who are willing to help improve this code only if this is done, and hey, isakmpd does need our standard auditing process. ok ho hshoexer
2004-04-07Reset *data in case of unknown key typesHakan Olsson
2003-11-06Style nits.Hakan Olsson
2002-09-11signed vs unsigned, some void * arithmetic, from -pedantic. niklas@ ok.Hakan Olsson
2002-06-10The dlopen() stuff goes away.Hakan Olsson
2002-06-01size_t must be cast to (unsigned long) and printed using %luTheo de Raadt
2002-03-06Compile without warnings for older/newer OpenSSL.Hakan Olsson
2002-03-06Fix a couple of snprintf length bugs. Same problem <chris@stallion.oz.au>Hakan Olsson
found for policy passphrases.
2002-03-05handle constification from new opensslTheo de Raadt
2002-01-23the last few sprintf -> snprintfHakan Olsson
2001-10-26libcrypto.h should be included. Sort includes.Hakan Olsson
2001-07-02make the alpha happyTheo de Raadt
2001-07-01StyleNiklas Hallqvist
2001-06-25Copyright update.Angelos D. Keromytis
2001-05-31Key handling routines.Angelos D. Keromytis