Fix an undefined return value in ksba_cert_get_digest_algo.
* src/cert.c (ksba_cert_get_digest_algo): Set ALGO in the error case. * tests/cert-basic.c (one_file): Take care of printf which does not handle NULL for %s
- GnuPG-bug-id: T2343
- Reported-by: Pascal Cuoq