aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-09-14 00:16:39 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-09-14 00:16:39 +0800
commit6095ecfc4bb1b0c1ffe1cf5beebaf9ca7507f25d (patch)
treea28c0eb295732d6e326d0c1c960641e62d3c57c1
parent00368d2905d4bd8da5dbf82f93e41043eeb349ff (diff)
downloadgsoc2013-evolution-6095ecfc4bb1b0c1ffe1cf5beebaf9ca7507f25d.tar.gz
gsoc2013-evolution-6095ecfc4bb1b0c1ffe1cf5beebaf9ca7507f25d.tar.zst
gsoc2013-evolution-6095ecfc4bb1b0c1ffe1cf5beebaf9ca7507f25d.zip
Return -1 on failure.
2001-09-13 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-context.c (crypto_exec_with_passwd): Return -1 on failure. svn path=/trunk/; revision=12799
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-pgp-context.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 834ec96fe7..f14aa2bb3d 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-13 Jeffrey Stedfast <fejj@ximian.com>
+
+ * camel-pgp-context.c (crypto_exec_with_passwd): Return -1 on
+ failure.
+
2001-09-12 Larry Ewing <lewing@ximian.com>
* camel-filter-driver.c (camel_filter_driver_filter_mbox): free
diff --git a/camel/camel-pgp-context.c b/camel/camel-pgp-context.c
index ebd8d4027a..13a94b449f 100644
--- a/camel/camel-pgp-context.c
+++ b/camel/camel-pgp-context.c
@@ -296,7 +296,7 @@ crypto_exec_with_passwd (const char *path, char *argv[], const char *input, int
*diagnostics = g_strdup_printf ("Couldn't create pipe to %s: "
"%s", path,
g_strerror (errno));
- return 0;
+ return -1;
}
if (!(child = fork ())) {
@@ -326,7 +326,7 @@ crypto_exec_with_passwd (const char *path, char *argv[], const char *input, int
} else if (child < 0) {
*diagnostics = g_strdup_printf ("Cannot fork %s: %s",
argv[0], g_strerror (errno));
- return 0;
+ return -1;
}
/* Parent */
@@ -1329,7 +1329,7 @@ pgp_decrypt (CamelCipherContext *ctx, CamelStream *istream,
g_free (passphrase);
/* gpg returns '1' if it succeedes in decrypting but can't verify the signature */
- if (!(retval == 0 || (context->priv->type == CAMEL_PGP_TYPE_GPG && retval == 1)) || !*plaintext) {
+ if (retval != 0 || (context->priv->type == CAMEL_PGP_TYPE_GPG && retval == 1) || !*plaintext) {
camel_exception_setv (ex, CAMEL_EXCEPTION_SYSTEM,
"%s", diagnostics);
g_free (plaintext);
p/Makefile?h=dependabot/npm_and_yarn/devel/electron4/files/lodash-4.17.19&id=96a74e69c3cb3ef21c36923f27a6b0933d9f0c25'>Remove expired ports:rene2018-09-021-2/+0 * Remove expired port:rene2018-08-221-1/+0 * Remove expired port:rene2018-08-221-1/+0 * - New port: net-p2p/awggacm2018-08-071-0/+1 * net-p2p/transmission* -- update and falvorizetcberner2018-07-161-2/+1 * net-p2p/qbittorrent: Update 3.3.16 -> 4.1.1yuri2018-06-201-1/+0 * Rename btsync to rslsync and update it to 2.5.12knu2018-05-141-1/+1 * New ports: net-p2p/ktorrent, net-p2p/libktorrent, net/syndicationtcberner2018-04-111-0/+2 * net-p2p/qtum: Add a new portvd2018-01-221-0/+1 * Sort SUBDIRssunpoet2018-01-071-1/+1 * net-p2p/py-tremc: create portswills2017-12-311-0/+1 * XMRig is a high performance Monero (XMR) CPU miner written in C++.ehaupt2017-12-231-0/+1 * net-p2p/monero-cli: Add a new port - a secure, private, and untraceable crypt...vd2017-11-091-0/+1 * Add -qt5 port.crees2017-08-151-0/+1 * Missed Makefile update in r447248feld2017-08-051-0/+1 * Add a port of Qt-based GUI tool designed to create and edit .torrent files.danfe2017-06-011-0/+1 * 2017-04-30 devel/stormlib-ghost++: Unfetchable for more than six months (goog...ler2017-04-301-2/+0 * Remove expired ports:rene2017-03-281-2/+0 * Add Radarr to the ports treefeld2017-02-221-0/+1 * Remove expired ports:rene2017-02-091-1/+0 * CouchPotato (CP) is an automatic NZB and torrent downloader.feld2016-12-271-0/+1 * net-p2p/deluge: split out CLI partrm2016-10-271-0/+1 * New port: net-p2p/libswiftpi2016-08-181-0/+1 * Add a port of torrentcheck, command-line torrent viewer and hash checker.danfe2016-08-141-1/+2 * New port: net-p2p/go-ethereumpi2016-05-011-0/+1 * Add net-p2p/sonarr to the ports treefeld2015-12-171-0/+1 * - Update The Glorious Glasgow Haskell Compiler to version 7.10.2pgj2015-08-211-0/+1 * Remove expired ports:rene2015-08-081-1/+0 * net-p2p/litecoin: Update to 0.10.2.2swills2015-08-051-0/+1 * Remove expired ports:rene2015-08-011-1/+0 * net-p2p/namecoin: 0.3.72 -> 0.3.80, adding slaveport -daemonpi2015-06-111-0/+1 * net-p2p/bitcoin: Update to 0.10.0, split bitcoin-utils, LOTS MOREkoobs2015-02-241-0/+1 * Remove: does not run anymorebapt2014-11-191-1/+0 * Remove expired ports:rene2014-09-301-1/+0 * Remove non staged ports without pending PR from net-p2p, net and newsbapt2014-09-021-9/+0 * Remove broken net-p2p/p5-Net-DirectConnect-TigerHashmarino2014-08-311-1/+0 * Add net-p2p/zetacoin-nox11 as a slave to zetacoin. This allows installingadamw2014-08-241-0/+1 * - Update libtorrent to 0.13.4madpilot2014-07-081-2/+0 * Remove expired ports:rene2014-06-301-1/+0 * Add btsync, distributed peer-to-peer file syncing application.lwhsu2014-06-291-0/+1 * Adding twister, a fully decentralized P2P microblogging platformthierry2014-06-221-0/+1 * Remove expired ports:rene2014-04-181-1/+0 * Unlink net-p2p/i2p before moving it from net-p2p/i2p to security/i2p.lioux2014-03-081-1/+0 * Resurrect net-p2p/microdc2 and unbreak the build: in the configure script,danfe2014-03-071-0/+1 * Remove expired ports:rene2014-02-281-1/+0 * Namecoin is an open source decentralized key/value registration and transferswills2014-02-131-0/+1 * Digitalcoin is an open source digital currency, originally based on Bitcoin,swills2014-01-191-0/+1 * Zetacoin is a free open source peer-to-peer electronic cash system thatswills2014-01-181-0/+1 * Slave port of net-p2p/litecoin so as to allow litecoin-qt and litecoind toswills2014-01-021-0/+1 * Slave port of net-p2p/bitcoin so as to allow bitcoin-qt and bitcoind to easilyswills2014-01-021-0/+1 * Dogecoin is an open source peer-to-peer cryptocurrency, favored by Shiba Inusswills2013-12-201-0/+1 * Remove expired port:rene2013-12-161-1/+0 * Remove expired ports:rene2013-12-151-1/+0 * Add bitmessage 0.4.1, secure P2P communications client.feld2013-12-071-0/+1 * Remove expired ports:rene2013-11-181-1/+0 * - Fix net-p2p/libtorrent-rasterbar dependency due to recent commitnemysis2013-11-061-2/+2 * cpuminer is a simple daemon that performs Bitcoin or Litecoinmm2013-11-041-0/+1 * Remove expired ports:rene2013-08-281-1/+0 * This is a text based version of the popular hotline client forwxs2013-08-191-0/+1 * KDE3 and QT3 expired on 2013-07-01, remove these ports.rene2013-07-271-4/+0 * Remove expired ports:az2013-06-191-1/+0 * Litecoin is a peer-to-peer Internet currency that enables instant payments toswills2013-05-301-0/+1 * Remove expired ports:rene2013-04-301-1/+0 * Thanks to the latest GTK 3 update, transmission-gtkcrees2013-03-091-6/+1 * 2012-12-01 net-p2p/limewire: Abandoned up streambapt2012-12-071-1/+0 * 2012-10-20 security/sscep: No more public distfilesbapt2012-10-261-2/+0 * * Thu Aug 09 2012 - Christophe Dumez <chris@qbittorrent.org> - v3.0.0dougb2012-08-121-2/+2 * Create transmission25 ports and UPDATING entry to explain.crees2012-08-111-0/+5 * net-p2p/libtorrent-rasterbar-14||2012-07-01|Discontinued upstream, move to li...dougb2012-07-021-3/+0 * Add gnunet-gtk , GTK interface to GNUnet.bf2012-06-011-0/+1 * Add the 0.16 branch of libtorrent-rasterbardougb2012-05-171-0/+2 * Remove expired ports: BROKEN for more than 6 month, there is no upstreamrm2012-05-161-2/+0 * Remove two expired ports:eadler2012-03-211-1/+0 * RetroShare is a Open Source cross-platform, private and secure decentralisedpawel2012-01-271-0/+1 * Ncdc is a modern and lightweight direct connect clientpawel2011-12-251-0/+1 * SolidCoin is an open source digital currency, originally based on Bitcoin,pawel2011-12-151-0/+1 * Remove ports@ ports that have been DEPRECATED for at least 1 monthdougb2011-11-021-2/+0 * 2011-11-01 games/phpua-ut2003: depends on phpua-enginemiwi2011-11-011-5/+0 * - net-p2p/transmisson-remote-gui was renamed to net-p2p/transmission-remote-guiacm2011-10-251-1/+0 * - net-p2p/transmisson-remote-gui was renamed to net-p2p/transmission-remote-guiacm2011-10-251-0/+1 * EiskaltDC++ is a cross-platform program that uses the Direct Connectpawel2011-10-251-0/+1 * Introduce qbittorrent 2.9.0, with the following new features vs. the 2.8.xdougb2011-10-101-0/+2 * Remove ports maintainted by ports@ which have passed their EXPIRATION_DATEdougb2011-10-091-1/+0 * EiskaltDC++ is a cross-platform program that uses the Direct Connectpawel2011-10-061-0/+1 * As previously advertised, delete ports that havedougb2011-09-301-1/+0 * As previously advertised, remove ports that previously had beendougb2011-09-301-5/+0 * 2011-09-01 korean/hlatexfonts-ocf: No more public distfilesbapt2011-09-071-1/+0 * Bye bye abandonwares (part 4)bapt2011-08-011-1/+0 * Remove net-p2p/tvrssarved2011-07-141-1/+0 * All qbittorrent development has moved to the 2.8 branch, so introducedougb2011-06-061-4/+2 * Add port: bitcoinshaun2011-05-211-0/+1 * removed unmaintained expired ports from net-p2pbapt2011-05-021-5/+0 * Removed, depends on linux-edonkey-core which has expiredbapt2011-05-021-2/+0 * Remove most expired ports:rene2011-04-191-1/+0 * Introduce version 2.7.3, the latest in the new 2.7.x branch.dougb2011-04-171-0/+2 * 2011-04-11 devel/thistest: development has ceased; website disappearedbapt2011-04-121-3/+0 * Garbage collect expired portsrene2011-04-051-1/+0 * Remove expired ports:rene2011-02-251-1/+0 * As previously advertised remove the woefully out of datedougb2011-01-241-1/+0 * Add a -nox11 version of qbittorrent-26 as a slave port.dougb2011-01-121-0/+1 * Introduce version 2.6.0, which has numerous new features and improvementsdougb2011-01-101-0/+1 * Remove net-p2p/qbittorrent-22, which is no longer maintaineddougb2011-01-011-1/+0 * TigerHash modulepgollucci2010-12-211-0/+1 * Direct Connect perl module with sharing clientpgollucci2010-12-211-0/+1 * Garbage collect old ports:rene2010-12-051-4/+0 * - Update to 2.1.1pav2010-11-261-1/+4 * A fast and lightweight QT4 BitTorrent client, loosely based on the GTK+ client.mezz2010-11-171-0/+1 * - Connect amule and amule2 to the buildpgollucci2010-10-191-0/+2 * net-p2p/amule2|net-p2p/amule|2010-10-05|Split to -devel and non-devel portspgollucci2010-10-191-1/+0 * Remove expired ports:garga2010-10-141-1/+0 * Remove expired ports:garga2010-10-011-1/+0 * 2010-08-01 net-p2p/javadc: is ancient, unmaintained, works only with JDK 1.3,...pgollucci2010-09-081-1/+0 * Connect libktorrentmakc2010-09-021-0/+1 * Add py-transmissionrpc 0.3, a python module communicates withlwhsu2010-08-221-0/+1 * Disconnect ktorrent-develmakc2010-08-121-1/+0 * Introduce the -devel version of the 2.3.x branch at rc10.dougb2010-07-251-0/+1 * mktorrent is a simple command-line utility to create BitTorrentamdmi32010-07-061-0/+1 * Add a slave port for the python bindingdougb2010-07-011-0/+1 * As advertised, remove net-p2p/qbittorrent.dougb2010-05-021-1/+0 * Remove rblibtorrent, it got deleted 2 weeks ago.kwm2010-04-061-1/+0 * As previously discussed on -ports, make the following changes:dougb2010-02-221-1/+3 * 2009-10-26 editors/qemacs: depends on old version of GCC, no maintainer, not ...miwi2009-11-191-1/+0 * uHub is a high performance peer-to-peer hub for the ADC network.amdmi32009-11-121-0/+1 * Remove net-p2p/mute-net. It has been broken for eight months, yet there isgerald2009-11-011-1/+0 * Remove net-p2p/mute-net-gui and net-p2p/mute-net-text; their master portgerald2009-10-191-2/+0 * Add eiskaltdcmakc2009-09-101-0/+1 * CTorrent Control Server (CTCS) is an interface for monitoring and managingmiwi2009-07-081-0/+1