• Home
  • Raw
  • Download

Lines Matching +full:gpg +full:- +full:agent

1 diff --git a/configure.ac b/configure.ac
3 --- a/configure.ac
5 @@ -991,6 +991,15 @@ if test x"$use_tofu" = xyes ; then
16 +AM_CONDITIONAL(HAVE_LIB_FUZZING_ENGINE, [test "$have_fuzz" = yes -a "$HAVE_CLANGXX" = 1])
21 @@ -2149,6 +2158,7 @@ tests/migrations/Makefile
26 g10/gpg.w32-manifest
27 tools/gpg-connect-agent.w32-manifest
28 tools/gpgconf.w32-manifest
29 diff --git a/g10/Makefile.am b/g10/Makefile.am
31 --- a/g10/Makefile.am
33 @@ -47,6 +47,7 @@ endif
34 # NB: We use noinst_ for gpg and gpgv so that we can install them with
35 # the install-hook target under the name gpg2/gpgv2.
36 noinst_PROGRAMS = gpg
41 @@ -164,6 +165,9 @@ gpg_sources = server.c \
42 gpg_SOURCES = gpg.c \
51 diff --git a/g10/armor.c b/g10/armor.c
53 --- a/g10/armor.c
55 @@ -313,7 +313,9 @@ static void
65 diff --git a/g10/call-dirmngr.h b/g10/call-dirmngr.h
67 --- a/g10/call-dirmngr.h
68 +++ b/g10/call-dirmngr.h
69 @@ -19,6 +19,8 @@
78 diff --git a/g10/compress-bz2.c b/g10/compress-bz2.c
80 --- a/g10/compress-bz2.c
81 +++ b/g10/compress-bz2.c
82 @@ -155,8 +155,15 @@ do_uncompress( compress_filter_context_t *zfx, bz_stream *bzs,
83 (unsigned)bzs->avail_in, (unsigned)bzs->avail_out, zrc);
85 rc = -1; /* eof */
86 - else if( zrc != BZ_OK && zrc != BZ_PARAM_ERROR )
87 - log_fatal("bz2lib inflate problem: rc=%d\n", zrc );
98 && !bzs->avail_in && bzs->avail_out > 0)
100 diff --git a/g10/compress.c b/g10/compress.c
102 --- a/g10/compress.c
104 @@ -204,10 +204,19 @@ do_uncompress( compress_filter_context_t *zfx, z_stream *zs,
106 rc = -1; /* eof */
109 + rc = -1;
111 + if( zs->msg )
112 + log_error("zlib inflate problem: %s\n", zs->msg );
116 if( zs->msg )
117 log_fatal("zlib inflate problem: %s\n", zs->msg );
122 } while (zs->avail_out && zrc != Z_STREAM_END && zrc != Z_BUF_ERROR
124 diff --git a/g10/parse-packet.c b/g10/parse-packet.c
126 --- a/g10/parse-packet.c
127 +++ b/g10/parse-packet.c
128 @@ -806,7 +806,12 @@ parse (parse_packet_ctx_t ctx, PACKET *pkt, int onlykeypkts, off_t * retpos,
129 * the uncompressing layer - in some error cases it just loops
141 diff --git a/g10/plaintext.c b/g10/plaintext.c
143 --- a/g10/plaintext.c
145 @@ -617,10 +617,16 @@ ask_for_detached_datafile (gcry_md_hd_t md, gcry_md_hd_t md2,
162 diff --git a/g10/sig-check.c b/g10/sig-check.c
164 --- a/g10/sig-check.c
165 +++ b/g10/sig-check.c
166 @@ -783,8 +783,9 @@ check_revocation_keys (ctrl_t ctrl, PKT_public_key *pk, PKT_signature *sig)
170 - if (gcry_md_open (&md, sig->digest_algo, 0))
171 - BUG ();
172 + rc = gcry_md_open (&md, sig->digest_algo, 0);
178 diff --git a/tests/Makefile.am b/tests/Makefile.am
180 --- a/tests/Makefile.am
182 @@ -24,7 +24,13 @@ else
186 -SUBDIRS = gpgscm openpgp cms migrations gpgme pkits $(tpm2dtests) .
197 diff --git a/tests/fuzz/Makefile.am b/tests/fuzz/Makefile.am
200 --- /dev/null
202 @@ -0,0 +1,84 @@
203 +# Makefile.am - For tests/fuzz
224 +required_pgms = ../../g10/gpg$(EXEEXT)
229 +AM_LDFLAGS = -stdlib=libc++
231 +AM_CPPFLAGS = -I$(top_srcdir)/common -I$(top_srcdir)/g10
246 + cd .. && zip -r fuzz/fuzz_verify_seed_corpus.zip openpgp/tofu/conflicting/* openpgp/tofu/cross-si…
258-r fuzz/fuzz_import_seed_corpus.zip openpgp/samplekeys/* openpgp/key-selection/* openpgp/*.asc ope…
270 + cd .. && zip -r fuzz/fuzz_decrypt_seed_corpus.zip openpgp/tofu/conflicting/* openpgp/tofu/cross-s…
282 + cd .. && zip -r fuzz/fuzz_list_seed_corpus.zip openpgp/
286 +all-local: $(required_pgms)