Home GnuPG
Diffusion GnuPG 0d5cb55402c4

dirmngr: Remove un-needed check.
0d5cb55402c4Unpublished

Unpublished Commit · Learn More

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

Description

dirmngr: Remove un-needed check.

* dirmngr/crlfetch.c (crl_fetch): Check that URL is not NULL.
"Remove un-needed check. If 'url' were not to be true,
 http_parse_uri(parse_uri(do_parse_uri))) would fail, leaving 'err'
 false."

In addition I added an explicit check for the URL arg not beeing NULL.

  • Reported-by: Joshua Rogers <git@internot.info>
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Dec 22 2014, 12:29 PM
Parents
rGabd5f6752d69: dirmngr,gpgsm: Return NULL on fail
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rG0d5cb55402c4: dirmngr: Remove un-needed check. (authored by Werner Koch <wk@gnupg.org>).Dec 22 2014, 12:39 PM