sm: Print a better diagnostic for encryption certificate selection.
* sm/certlist.c (gpgsm_add_to_certlist): Add diagnostic and fold two similar branches.
Without this patch gpgsm printed:
gpgsm: DBG: chan_6 <- RECIPIENT email@example.com
gpgsm: certificate is not usable for encryption
gpgsm: certificate is good
with this patch a
gpgsm: looking for another certificate
is inserted into the log.
- Signed-off-by: Werner Koch <firstname.lastname@example.org>