sm: Handle gcry_pk_encrypt return value.
authorNIIBE Yutaka <gniibe@fsij.org>
Tue, 15 Dec 2015 03:38:25 +0000 (12:38 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Tue, 15 Dec 2015 03:38:25 +0000 (12:38 +0900)
commit4ee881bff4c8fdfa4b3b7a4b7afab611471e97f1
tree3698923794fd83d06195306dc5e631a1bc239fad
parent7baca033070e7811f75e2021100adf8e6a48907f
sm: Handle gcry_pk_encrypt return value.

* sm/encrypt.c (encrypt_dek): Don't ignore failure of gcry_pk_encrypt.

--

Thanks to Sami Farin.

GnuPG-bug-id: 2154
sm/encrypt.c