Home GnuPG

Use modern error macros and fix a missing assignment.
b60e5140f85fUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Use modern error macros and fix a missing assignment.

* src/ocsp.c: Remove errno.h.  Replace gpg_error_from_errno(errno) by
gpg_error_from_syserror ().
(parse_response): Ditto.  Return direct becuase static analyzer may
not grasp that  gpg_error_from_syserror will never return false.
(ksba_ocsp_get_responder_id): Actually return an error for NO_DATA.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Jun 27 2016, 4:04 PM
Parents
rK7243a3c6ed16: Detect invalid RDN names and avoid a read from uninitialized variable.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rKb60e5140f85f: Use modern error macros and fix a missing assignment. (authored by Werner Koch <wk@gnupg.org>).Jun 27 2016, 4:04 PM