Initialize buf and diag_buf to NULL, hopefully this fixes the crash if the
authorJeffrey Stedfast <fejj@ximian.com>
Wed, 29 Aug 2001 03:16:57 +0000 (03:16 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Wed, 29 Aug 2001 03:16:57 +0000 (03:16 +0000)
commitbcb6714c18bc25e5fc22f3af5ccf64c6a7adecb2
tree5134e96679c5212c89b461b76e961fc5b2d0f5fa
parent27083db5ae2d5a24eec74eba6bb41c68e2743acc
Initialize buf and diag_buf to NULL, hopefully this fixes the crash if the

2001-08-28  Jeffrey Stedfast  <fejj@ximian.com>

* camel-pgp-context.c (crypto_exec_with_passwd): Initialize buf
and diag_buf to NULL, hopefully this fixes the crash if the
select() times out.
(pgp_encrypt): Argh. What was I thinking? Don't use "-r recipient"
as an argument, instead use "-r" and "recipient" as 2 separate
arguments to pgp. This might fix the "gpg only encrypts to my
private key" bug?
camel/ChangeLog
camel/camel-pgp-context.c