drochner
fb693f55f7
apply patches from upstream CVS to fix 3 security problems:
...
-ASN1 printing crash (CVE-2009-0590)
-Incorrect Error Checking During CMS verification (CVE-2009-0591)
-Invalid ASN1 clearing check (CVE-2009-0789)
2009-03-27 10:41:29 +00:00
perry
4bfc10355c
add missing commas to .Dd fix, pointed out by wiz
2009-03-22 14:29:34 +00:00
perry
c8a35b6227
OpenBSD uses a custom CVS hack to handle Dd fields ($Mdocdate$) which
...
we don't have. Replace ".Dd $Mdocdate" with ".Dd Month Day Year" so
that the date comes out right when man pages get built. This will
doubtless need hand conflict resolution whenever these pages are
re-imported.
Note that it would be interesting to have some similar facility for
NetBSD, but I don't think a custom rcs keyword is the right thing --
maybe we can teach groff to parse $Date$
2009-03-21 00:15:52 +00:00
tteras
0c68acc1de
From Arnaud Ebalard: Fix couple of problems with previous commit.
2009-03-13 04:49:16 +00:00
he
976380d183
When casting to/from a pointer to an integral type (a bad practice,
...
if you ask me), you need to cast via intptr_t for portability.
2009-03-12 23:05:27 +00:00
wiz
2df943f931
New sentence, new line. Avoid marking up punctuation.
2009-03-12 15:18:57 +00:00
wiz
0d4480d10a
Bump date for previous. Sort options to establish-sa.
...
Stop using Xo/Xc.
2009-03-12 14:01:09 +00:00
tteras
983cc8fecf
Support multiple anonymous remotes and decide remoteconf based on identity,
...
received certificates and other information. General code clean up.
2009-03-12 10:57:26 +00:00
joerg
997634fe14
Fix preamble to match order set out by mdoc(7). Discussed with wiz.
2009-03-09 19:24:26 +00:00
tteras
e3372d2f8f
setkey: fix deleteall in Linux
...
Linux requires SADB_DELETE message to have SPI. So send
a SADB_DELETE message for each matching SA. Trac #284 .
From: Gabriel Somlo <somlo@cmu.edu>
2009-03-06 11:45:03 +00:00
he
64be3821eb
This program also uses the following libs: -lcrypto -lz -lbz2.
...
Add them explicitly so that this program links for sun2 as well.
2009-02-23 08:25:07 +00:00
agc
88ba3068b1
Use one struct for both zlib and bzip2 decompression.
2009-02-22 16:29:33 +00:00
agc
7bc38e3159
Use pointers to traverse some arrays, and make the code a bit more
...
readable.
2009-02-20 02:47:54 +00:00
agc
5d3eeabad1
Be a bit less zealous when copying memory, so that we don't copy beyond
...
th end of the buffer, and provoke a core dump.
2009-02-20 02:45:43 +00:00
christos
ce563f1b55
CID 4960: Plug memory leak.
2009-02-18 20:10:23 +00:00
uebayasi
aa58ef4867
Revert previous for now. The hidden intent was to rewrite duplicate rules
...
of ${TOOL_COMPILE_ET} seen in lib/*/Makefile, using make(1) suffix rule.
But I have not figured out the best way yet.
(The reason why I want to rewrite them is to strip absolute paths embedded in
/usr/include/krb5/*.h.)
2009-02-18 01:18:57 +00:00
dogcow
0d280a6b94
sig_atomic_t is long on alpha (?!); use %ld and cast to long.
2009-02-17 05:28:32 +00:00
uebayasi
5b1f280b89
To name output files, replace only suffix part exactly.
2009-02-17 05:24:14 +00:00
christos
79290a1b6f
remove extra args.
2009-02-16 22:50:17 +00:00
christos
9341d6b102
put back deleted files
2009-02-16 20:55:22 +00:00
christos
abbe9cc1c0
merge changes
2009-02-16 20:53:54 +00:00
tteras
b1ab726a1a
From Paul Moore: Fix a heap corruption bug (yacc return non-null terminated
...
buffer and sprintf writes over bounds).
2009-02-16 18:36:21 +00:00
christos
9d3c9d9c55
from ftp.openbsd.org
2009-02-16 17:14:22 +00:00
jmmv
44d668a632
Fix build; need to constify the return value of a function.
2009-02-13 22:01:05 +00:00
lukem
d237abe695
fix -Wsign-compare issues
2009-02-12 10:43:41 +00:00
vanhu
3723c0b8cf
trac#301: fixed IPsec SAs flush in purge_remote() when NAT-T enabled but no NAT-T on tunnel
2009-02-11 15:18:59 +00:00
agc
00be53a929
Remove argument names from function prototypes in header files.
2009-02-07 07:00:01 +00:00
agc
fd38df44a9
Be a bit more consistent with the naming scheme (and a bit less verbose).
2009-02-07 05:57:39 +00:00
agc
47eb47e6b3
The catch-all header file also includes version.h now, in case we want
...
to display the version number of the openpgpsdk library.
2009-02-07 05:37:57 +00:00
agc
6aef23c4e0
Re-order header file inclusion order to be alphabetic.
...
Print out the version number of the openpgpsdk library when showing the
version string.
Parse the existing ~/.gnupg/gpg.conf to get the default user id, if any.
Use the actual size of the arrays in snprintf(), rather than a size which
may or may not be accurate.
Get rid of an unused 8K array on the stack - it's not needed.
2009-02-07 05:36:51 +00:00
agc
02ebfd8cdc
Minor cosmetic change - no functional difference.
2009-02-07 05:32:27 +00:00
agc
852e7a06c8
Be a bit less rigid when re-allocating memory - don't just keep doubling
...
the size we've allocated; instead, if the current size is more than 8 MiB,
then add 1 MiB on; current behaviour remains unchanged for re-allocations
less than 8 MiB.
2009-02-07 05:31:28 +00:00
agc
c62065c7b1
Check the characters we're given when trying to decide whether it's a
...
key id, or a user id/name.
2009-02-07 05:28:55 +00:00
agc
eab6d9dfa6
Only use O_BINARY if it's defined (rather than the vague WIN32 definition
...
test).
Minor cosmetic changes
2009-02-07 05:26:19 +00:00
agc
203a89fce5
Fix a bug which prevented files signed with an RSA public key from being
...
decrypted.
2009-02-06 06:36:03 +00:00
agc
80a7466337
No need to define our own ops_boolean_t, ops_true and ops_false when
...
there are perfectly good values like bool, true and false waiting to
be used in <stdbool.h>
2009-02-05 06:03:49 +00:00
agc
dda6c6990e
When signing or encrypting files, allow the userid to be specified using
...
the (8 or 16) character keyid.
One more thing off the TODO list.
2009-02-05 01:42:39 +00:00
tteras
ee2923bc73
From: Phil Sutter. Fix script environment variables with IPv6 addresses.
2009-02-03 20:21:45 +00:00
agc
57ef716bf6
Document the --version switch to print out the version information from
...
the libopenpgpsdk(3) library
2009-02-02 20:24:36 +00:00
agc
c350af2e45
Document the function to get the version information for the openpgpsdk
...
library.
2009-02-02 20:21:26 +00:00
agc
40cade5517
Add a --version command to the openpgp utility, and document it. The
...
version is grabbed from the openpgpsdk library.
Make openpgp just include the one catch-all openpgpsdk header file.
2009-02-02 20:13:59 +00:00
agc
fed46fd602
Remove a block of text, which wiz had commented out - it was not meant to
...
be.
2009-01-31 16:00:18 +00:00
wiz
127b1b6933
mdoclint cleanup:
...
remove trailing whitespace and a few nits.
2009-01-31 14:16:34 +00:00
wiz
8edb63eafb
Add all options to SYNOPSIS.
...
Sort option descriptions.
Describe --passphrase, while it still is supported.
Use more markup.
Comment out block of text that didn't make sense to me in the context.
Punctuation improvements.
2009-01-31 14:14:10 +00:00
agc
fce523c3f5
Get rid of 3 static functions which performed the same operation on 3
...
different arrays, and replace them with a function which takes the array
and size as arguments. No functional change.
2009-01-31 02:33:22 +00:00
agc
aa5adc9663
Cosmetic change to surround the argument to sizeof in (brackets). No
...
functional change.
2009-01-31 01:44:31 +00:00
agc
d2d3b6f70a
Get rid of all occurrences of ops_mallocz(), since all it did was allocate
...
zeroed storage, and calloc(3) seems to do that just fine.
2009-01-31 01:20:32 +00:00
agc
f058249f4f
Add a manual page for the openpgpsdk library - very bare bones right now,
...
all contributions gratefully received.
Also add a convenience header file, which includes the other necessary
openpgpsdk header files - this means that
#include <openpgpsdk/openpgpsdk.h>
will get all the necessary definitions and declarations.
2009-01-31 00:48:18 +00:00
wiz
22e63019c0
mdoclint cleanup:
...
Sort sections.
Make HTML-ready.
Add RCS Id.
Fix section and man page names.
2009-01-30 22:59:37 +00:00
agc
c804754594
Make source match the documentation (I thought I'd committed these yesterday,
...
but it seems not).
Bump default number of bits from 1024 to 2048.
Add --armor as a synonym for --armour, and prepare for the great spelling war
of 2009.
2009-01-30 21:39:42 +00:00