Jim Meyering
850f09b2e3
tests: avoid use of freed pointer
...
[spotted by coverity]
This is only in tests/, but easy to fix, so...
I've included extra context so you can see how var->value would
be used in the following atoi call.
>From cf9ae83fd2da8d7a289b048ef0feed4096f6d263 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering@redhat.com>
Date: Tue, 20 Sep 2011 16:32:59 +0200
Subject: [PATCH] avoid use of free'd pointer
* asschk.c (set_type_var): Set var->value to NULL after freeing it,
to avoid subsequent use of freed pointer.
2011-09-20 18:14:51 +02:00
Werner Koch
7d5ba080be
Add ECC sign, verify, encrypt and decrypt tests
2011-02-11 09:59:16 +01:00
Werner Koch
cfbb5760d9
Remove debug code from regression test pinentry
...
Also updated de.po
2011-02-10 20:54:37 +01:00
Werner Koch
d290f2914a
Add ECC import regression tests and fixed a regression.
...
The import test imports the keys as needed and because they are
passphrase protected we now need a pinentry script to convey the
passphrase to gpg-agent.
2011-02-10 20:45:37 +01:00
Werner Koch
b008274afd
Nuked almost all trailing white space.
...
We better do this once and for all instead of cluttering all future
commits with diffs of trailing white spaces. In the majority of cases
blank or single lines are affected and thus this change won't disturb
a git blame too much. For future commits the pre-commit scripts
checks that this won't happen again.
2011-02-04 12:57:53 +01:00
Werner Koch
4659c923a0
Sample ECC keys and message do now work.
...
Import and export of secret keys does now work. Encryption has been
fixed to be compatible with the sample messages.
This version tests for new Libgcrypt function and thus needs to be
build with a new Libgcrypt installed.
2011-02-02 15:48:54 +01:00
Werner Koch
d1bdc3f6ea
Tweaks to make make distcheck work.
2010-10-15 09:16:39 +00:00
Werner Koch
23d0334d82
Remove debug options
2010-10-14 16:36:47 +00:00
Werner Koch
764e88d4df
All tests work are again working
2010-10-14 16:34:31 +00:00
Werner Koch
fd19a84c80
Some tweaks to the agent startup.
2010-10-14 08:32:55 +00:00
Werner Koch
08f78839cf
.
2010-07-23 12:19:35 +00:00
Werner Koch
c8eb7bd839
Change OpenPGP test framework to run under the control of the agent.
2010-06-07 15:11:35 +00:00
Werner Koch
bbe388b5db
Add unfinished gpgtar.
...
Collected changes and ports of bug fixes from stable.
2010-06-07 13:33:02 +00:00
Werner Koch
f5551672fb
Update tests.
2010-05-11 18:00:31 +00:00
Werner Koch
b9f2c0daaf
Fix for bug 1223
2010-05-07 13:13:56 +00:00
Werner Koch
be45bf3d54
Add dummu option --passwd for gpg.
...
Collected changes.
2010-01-08 19:18:49 +00:00
Werner Koch
9b345f2a8a
Replace C99 style vararg macro which was anyway not correct.
2009-10-13 09:11:47 +00:00
David Shaw
6f287d4e3f
* defs.inc: Improved all_cipher_algos and all_hash_algos to work when
...
there are more than one line of algorithms. From 1.4.
2009-06-05 13:54:08 +00:00
Werner Koch
82d26564dc
Fix problem with incompatible gpg.conf files.
2009-04-19 16:34:21 +00:00
Werner Koch
cccda0c269
Arggg, forgot one other place.
2009-03-03 09:47:48 +00:00
Werner Koch
e240750936
fix for pkits.
2009-03-03 09:21:25 +00:00
Werner Koch
310f45b618
Fix bug 1001.
...
Documentation updates.
2009-02-19 16:19:16 +00:00
Werner Koch
38251aa74f
Add a sample key.
...
Detect and show the card type.
2009-01-13 14:01:56 +00:00
Werner Koch
0a5f742466
Marked all unused args on non-W32 platforms.
2008-10-20 13:53:23 +00:00
Werner Koch
8381a43ca7
Add gpgsm server command GETINFO agent-check.
...
Fix tests.
2008-09-30 10:30:20 +00:00
Werner Koch
322e879e6a
Add executable flag to test scripts.
2008-04-15 15:57:39 +00:00
Werner Koch
b2dd413cfa
Last minute cleanups.
2008-03-26 09:38:42 +00:00
Werner Koch
c2a8254be7
Fix a bug in the ambigious name detection.
...
Minor cleanups.
2008-03-20 15:31:43 +00:00
Werner Koch
f5f14d6556
Add some tests.
2008-02-22 15:47:18 +00:00
Werner Koch
898a341f50
Fixed release creation.
2008-02-19 12:58:34 +00:00
Werner Koch
f13c5a48fc
Improve certificate chain construction.
...
Extend PKITS framework
2008-02-19 10:33:35 +00:00
Werner Koch
a75c21ed8a
We better save the description of PKITS along with the test data.
2008-02-18 14:31:46 +00:00
Werner Koch
c3b9005ec3
Typo fixes.
...
Portability fix for asschk.c
2008-01-26 22:12:23 +00:00
Werner Koch
a6549ca548
Preparing a release candidate.
2007-12-14 16:08:53 +00:00
Werner Koch
598a3d0ab4
[W32] Changed default socket for dirmngr.
...
[W32] Add some code for event notifications
between scdaemon and gpg-agent.
2007-11-27 08:01:19 +00:00
Werner Koch
cd2d9288aa
Ported changes from 1.4.
...
Add copyright notices.
2007-10-25 09:06:21 +00:00
Werner Koch
503f91e0ae
tryu harder to ignore duplicate specified keyrings and -boxes.
...
Documentation updates.
2007-08-24 09:34:39 +00:00
Werner Koch
93d3811abc
Changed to GPLv3.
...
Removed intl/.
2007-07-04 19:49:40 +00:00
David Shaw
19df6dc9e3
* conventional.test, encrypt.test, encrypt-dsa.test,
...
conventional-mdc.test: Fix some broken tests that were only testing
3DES instead of all available ciphers.
2007-05-03 00:54:28 +00:00
Werner Koch
9491ab44c5
Ported multiple-messages protection.
2007-03-05 14:56:31 +00:00
Werner Koch
5885142c83
Made some PIN pads work.
...
Some cleanups for 64 bit CPUs.
2006-11-20 16:49:41 +00:00
Werner Koch
10d563da08
Collected fixes.
2006-11-05 15:08:58 +00:00
Werner Koch
3fafc72583
Fix for make distcheck
2006-10-04 17:42:14 +00:00
Werner Koch
4b48bcacc9
Fix for bug 537
2006-10-02 11:54:35 +00:00
Marcus Brinkmann
088c35b2ee
2006-09-06 Marcus Brinkmann <marcus@g10code.de>
...
* configure.ac: New automake conditional RUN_GPG_TESTS.
tests/
2006-09-06 Marcus Brinkmann <marcus@g10code.de>
* Makefile.am (openpgp): New variable.
(SUBDIRS): Conditionalize openpgp on RUN_GPG_TESTS.
2006-09-06 21:09:36 +00:00
Werner Koch
0ebd23fa76
Migrated more stuff to doc/
...
Migrated the gpg regression tests.
Some changes tp the gpg code to fix bugs and
for the use in testing.
make distcheck works now with gpg enabled.
2006-08-21 20:20:23 +00:00
Werner Koch
b37c1ce1b9
Create bag attributes so that Mozilla will accept these files.
...
Tested with using a CAcert generated certificate.
2006-07-24 11:20:33 +00:00
Werner Koch
f98537733a
Updated FSF's address.
2006-06-20 17:21:37 +00:00
Marcus Brinkmann
384cba431a
2006-06-08 Marcus Brinkmann <marcus@g10code.de>
...
* asschk.c (__func__) [__STDC_VERSION__ < 199901L && __GNUC__ >= 2]:
Define macro to __FUNCTION__.
(die): Use __func__ instead of __FUNCTION__.
2006-06-08 12:17:38 +00:00
Werner Koch
61756ae3a7
Added sample certificates.
2006-05-16 09:54:41 +00:00