dirmngr: Remove un-needed check.
authorWerner Koch <wk@gnupg.org>
Mon, 22 Dec 2014 11:29:32 +0000 (12:29 +0100)
committerWerner Koch <wk@gnupg.org>
Mon, 22 Dec 2014 11:39:14 +0000 (12:39 +0100)
commit0d5cb55402c44fb5f731ecf85705f845f3091aa7
tree68db985468ad35b443f134851018657cdba7aa28
parentabd5f6752d693b7f313c19604f0723ecec4d39a6
dirmngr: Remove un-needed check.

* dirmngr/crlfetch.c (crl_fetch): Check that URL is not NULL.
--

Reported-by: Joshua Rogers <git@internot.info>
  "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.

Signed-off-by: Werner Koch <wk@gnupg.org>
dirmngr/crlfetch.c