Editorial changes and allow building with old libgcrypts.
authorWerner Koch <wk@gnupg.org>
Fri, 21 Jan 2011 11:00:57 +0000 (12:00 +0100)
committerWerner Koch <wk@gnupg.org>
Fri, 21 Jan 2011 11:00:57 +0000 (12:00 +0100)
commit90b0ff23b7e51332592668e4034967c1aac1c593
treea3ef4cbd4c679a954a2cceba218b54cc2e2e9be5
parenta66772aa6309a0e632ff802fd6dcfb034b61c5cf
Editorial changes and allow building with old libgcrypts.

Changed order of some conditional to make to put the special case into
the true branch.  Indentation changes.  Minor other changes to make the
ECC code more similar to the rest of our code.

It builds but many sefltests still fail.  Need to fix that before
using it with an ECDH enabled libgcrypt.

[/]
2011-01-21  Werner Koch  <wk@g10code.com>

* configure.ac: Need Libgcrypt 1.4.6 due to AESWRAP.
(HAVE_GCRY_PK_ECDH): Add new test.

[agent/]
2011-01-21  Werner Koch  <wk@g10code.com>

* cvt-openpgp.c (GCRY_PK_ECDH) [!HAVE_GCRY_PK_ECDH]: New.

[include/]
2011-01-21  Werner Koch  <wk@g10code.com>

* cipher.h (GCRY_PK_USAGE_CERT): Remove compatibility macros
because we now require libgcrypt 1.4.6.
(GCRY_PK_ECDH): Add replacement.
29 files changed:
ChangeLog
agent/ChangeLog
agent/cvt-openpgp.c
agent/gpg-agent.c
agent/protect.c
common/convert.c
configure.ac
dirmngr/Makefile.am
g10/armor.c
g10/build-packet.c
g10/ecdh.c
g10/encrypt.c
g10/export.c
g10/gpg.c
g10/keygen.c
g10/keyid.c
g10/main.h
g10/misc.c
g10/parse-packet.c
g10/pkglue.c
g10/pkglue.h
g10/pubkey-enc.c
g10/seskey.c
g10/sign.c
g10/verify-stubs.c
g13/utils.c
include/ChangeLog
include/cipher.h
kbx/keybox-openpgp.c