scd: Fix for Curve25519 prefix handling.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 2 Dec 2015 23:48:51 +0000 (08:48 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 2 Dec 2015 23:48:51 +0000 (08:48 +0900)
commit11b2691eddc42e91651e4f95dd2731255a3e9211
tree8439f450a4299de7e2a2441e5f7075d4bad6a18c
parentcedbd4709eed6fead9d1b271f96860c00547c77c
scd: Fix for Curve25519 prefix handling.

* scd/app-openpgp.c (do_decipher): More condition for AES decipher.
  Handle the prefix in cipher text.  Always add the prefix in result.
scd/app-openpgp.c