Factor out the URI check we do in various places into valid_uri().
authorclaudio <claudio@openbsd.org>
Fri, 5 Mar 2021 17:15:19 +0000 (17:15 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 5 Mar 2021 17:15:19 +0000 (17:15 +0000)
commit8c2eb2888816c5111a3d37520a4bc145a578f098
tree4df655ac678cc80238fcb4b71af1e61c773dfc8c
parente0cb1f60ff74f0741b445c2f3ed153a2ede8ccd5
Factor out the URI check we do in various places into valid_uri().
RRDP will add a bunch more checks so this makes even more sense.
With and OK tb@
usr.sbin/rpki-client/cert.c
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/tal.c
usr.sbin/rpki-client/validate.c