2002-07-01 11:36:48 +00:00
|
|
|
2002-07-01 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpgmeplug.c (findCertificates): Reintroduced a free which must
|
|
|
|
have been removed after my last fix. This avoids a memory leak
|
|
|
|
when a fingerprint was not found. Removed the double loop
|
|
|
|
increment in the code to release the arrays.
|
2002-07-01 13:01:51 +00:00
|
|
|
(make_fingerprint): Removed superfluous check on retrun value of
|
|
|
|
xmalloc.
|
|
|
|
(safe_free): Removed. Changed all callers to use a regular free
|
|
|
|
and at appropriate palces set the free pointer to NULL. That
|
|
|
|
safe_free stuff seems to have been copied verbatim from some
|
|
|
|
Mutt example code I posted.
|
|
|
|
(storeNewCharPtr): Use xmalloc instead of an unchecked
|
|
|
|
malloc. Removed superfluous string termination.
|
|
|
|
(parseAddress): Use xmalloc instead of an unchecked malloc.
|
|
|
|
(nextAddress): Ditto.
|
|
|
|
* gpgmeplug.c: Moved a few helper functions more to the top.
|
|
|
|
Fixed comment syntax. Merged a copyright notice somewhere in the
|
|
|
|
middle of the file with the one at the top.
|
2002-07-01 11:36:48 +00:00
|
|
|
|
2002-06-28 18:30:23 +00:00
|
|
|
2002-06-28 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpgmeplug.c (xmalloc): New.
|
|
|
|
(safe_malloc): Removed this macro and replaced it at all places
|
|
|
|
without return values checks by xmalloc.
|
|
|
|
(xstrdup): New. Replaces funny named macro with different
|
|
|
|
semantics. Changed all callers to the new semantic.
|
|
|
|
(findCertificates): Don't free duplicate free the FPR array
|
|
|
|
values. Removed the unneeded initialization. Replaces the
|
|
|
|
gcc-ish use dynamic allocation of automatic variables by repalce
|
|
|
|
maxCerts with a macro MAXCERTS. Made some comments Real C (tm).
|
|
|
|
(startListCertificates): Removed uneeded cast from xmalloc.
|
|
|
|
|
2002-06-28 14:51:12 +00:00
|
|
|
2002-06-28 Bernhard Reiter <bernhard@intevation.de>
|
|
|
|
|
|
|
|
* gpgmeplug.c: new macro days_to_seconds().
|
|
|
|
this also fixes the dividing factor.
|
|
|
|
(signatureCertificateDaysLeftToExpiry)
|
|
|
|
(preceiverCertificateDaysLeftToExpiry): using the new macro
|
|
|
|
|
|
|
|
(caCertificateDaysLeftToExpiry)
|
|
|
|
(rootCertificateDaysLeftToExpiry): using new macro in deactivated code.
|
|
|
|
|
|
|
|
|
2002-06-27 13:15:02 +00:00
|
|
|
2002-06-27 Steffen Hansen <steffen@hrhansen.dk>
|
|
|
|
|
2002-06-27 16:26:15 +00:00
|
|
|
* gpgmeplug.c: Fixed pattern related bug.
|
|
|
|
|
|
|
|
* cryptplug.h, gpgmeplug.c: Handle truncated data from dirmngr.
|
2002-06-27 13:15:02 +00:00
|
|
|
|
2002-06-25 17:42:21 +00:00
|
|
|
2002-06-25 Steffen Hansen <steffen@hrhansen.dk>
|
|
|
|
|
|
|
|
* cryptplug.h, gpgmeplug.c: New function importCertificate() for importing a
|
|
|
|
certificate from the temp. db to the real one given a fingerprint.
|
|
|
|
|
2002-06-20 16:48:37 +00:00
|
|
|
2002-06-20 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpgmeplug.c (reorder_dn): Added missing stdpart list terminator.
|
|
|
|
|
2002-05-30 06:24:19 +00:00
|
|
|
2002-05-30 Steffen Hansen <steffen@hrhansen.dk>
|
|
|
|
|
|
|
|
* cryptplug.h, gpgmeplug.c: Added certificate info listing functions.
|
|
|
|
Not yet complete.
|
|
|
|
Converted more C99 style comments to "classic" style.
|
|
|
|
|
2002-03-23 11:35:31 +00:00
|
|
|
2002-03-23 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpgmeplug.c: Converted it to real C; i.e. use standard comments -
|
2002-06-20 16:48:37 +00:00
|
|
|
we are doing ISO C 90. Translated a few German remarks and
|
2002-03-23 11:35:31 +00:00
|
|
|
commented on some things.
|
|
|
|
|
2002-03-08 00:51:25 +00:00
|
|
|
2002-03-08 Steffen Hansen <steffen@hrhansen.dk>
|
|
|
|
|
2002-03-23 11:35:31 +00:00
|
|
|
* A little better address-parsing. Not real rfc822 yet, but at
|
|
|
|
least it fetches the address between '<' and '>' now if they are
|
|
|
|
present.
|
2002-03-08 00:51:25 +00:00
|
|
|
|
2002-03-07 14:10:07 +00:00
|
|
|
2002-03-07 Steffen Hansen <steffen@klaralvdalens-datakonsult.se>
|
|
|
|
|
|
|
|
* gpgmeplug.c (encryptMessage): Made the function accept multiple
|
|
|
|
reciepients via addressee -- it is now parsed af a comma-separated
|
|
|
|
list.
|
|
|
|
|
2002-03-06 17:23:17 +00:00
|
|
|
2002-03-06 Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
* gpgmeplug.c (signMessage): Fixed offbyone. Don't include the
|
|
|
|
EOS character into the signature.
|
|
|
|
(checkMessageSignature): Ditto.
|
|
|
|
|
2002-02-28 09:16:25 +00:00
|
|
|
2002-02-28 Kalle Dalheimer <kalle@klaralvdalens-datakonsult.se>
|
|
|
|
|
|
|
|
* gpgmeplug.c (signMessage): Implemented warning when signature
|
|
|
|
certificates are about to expire
|
2002-02-28 12:09:45 +00:00
|
|
|
(isEmailInCertificate): Added support for checking whether the
|
|
|
|
signer's email address is contained in his certificate.
|
|
|
|
|
|
|
|
* cryptplug.h: Implemented warning when signature
|
|
|
|
certificates are about to expire
|
2002-02-28 09:16:25 +00:00
|
|
|
|
2002-02-26 23:19:19 +00:00
|
|
|
2002-02-27 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgmeplug.c (signMessage): Fix code syntax.
|
|
|
|
|
2002-02-01 20:28:35 +00:00
|
|
|
2002-02-01 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (EXTRA_gpgme_openpgp_la_SOURCES): New variable.
|
|
|
|
(EXTRA_gpgme_smime_la_SOURCES): Likewise.
|
|
|
|
|
|
|
|
* gpgmeplug.c (passphrase_cb): Fix type of third argument.
|
|
|
|
|
2002-01-16 17:48:23 +00:00
|
|
|
2002-01-16 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgme-openpgp.c: New file.
|
|
|
|
* Makefile.am (gpgme_openpgp_la_SOURCES): Replace gpgmeplug.c with
|
|
|
|
gpgme-openpgp.c.
|
|
|
|
|
2002-01-15 19:53:55 +00:00
|
|
|
2002-01-15 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgmeplug.c: Renamed to ...
|
|
|
|
* gpgme-openpgp.c: ... this. New file.
|
|
|
|
* gpgsmplug.c: Renamed to ...
|
|
|
|
* gpgme-smime.c: ... this. new file.
|
|
|
|
* Makefile.am: Rewritten to use libtool's module functionality.
|
|
|
|
|
2001-12-19 01:09:19 +00:00
|
|
|
2001-12-19 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (lib_LTLIBRARIES): Rename to ...
|
|
|
|
(noinst_LTLIBRARIES): ... this target.
|
|
|
|
|
2001-12-19 00:28:12 +00:00
|
|
|
2001-12-19 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (libgpgmeplug_la_SOURCES): Remove gpgme.h.
|
|
|
|
(libgpgsmplug_la_SOURCES): Likewise.
|
|
|
|
|
2001-12-05 13:21:04 +00:00
|
|
|
2001-11-29 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgmeplug.c (checkMessageSignature): Add call to gpgme_set_protocol.
|
|
|
|
|
2001-11-24 17:11:15 +00:00
|
|
|
2001-11-24 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (libgpgsmplug_la_SOURCES): Fix source file.
|
|
|
|
|
2001-11-22 18:48:53 +00:00
|
|
|
2001-11-22 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* Makefile.am (libgpgsmplug_la_LIBADD): New variable.
|
|
|
|
(libgpgsmplug_la_LDFLAGS): Likewise.
|
|
|
|
(libgpgsmplug_la_SOURCES): Likewise.
|
|
|
|
(lib_LTLIBRARIES): Add libgpgsmplug.la.
|
|
|
|
(INCLUDES): Include the local gpgme.h.
|
|
|
|
|
|
|
|
* gpgmeplug.c (signMessage): Set protocol.
|
|
|
|
(GPGMEPLUG_PROTOCOL) [!GPGMEPLUG_PROTOCOL]: Set
|
|
|
|
GPGMEPLUG_PROTOCOL.
|
|
|
|
* gpgsmplug.c: New file.
|
|
|
|
|
2001-11-21 21:09:50 +00:00
|
|
|
2001-11-21 Marcus Brinkmann <marcus@g10code.de>
|
|
|
|
|
|
|
|
* gpgmeplug.c: Include config.h only if [HAVE_CONFIG_H]. Do not
|
|
|
|
include util.h.
|
|
|
|
(deinitialize): Use free, not _gpgme_free.
|
|
|
|
(setDirectoryServers): Use calloc, not xtrycalloc. Use free, not
|
|
|
|
_gpgme_free. Use malloc instead xtrymalloc.
|
|
|
|
(appendDirectoryServer): Use realloc, not xtryrealloc.
|
|
|
|
|