Cleanup some old XXX needed comments. cert_parse() returns a referenced
authorclaudio <claudio@openbsd.org>
Thu, 4 Nov 2021 18:26:48 +0000 (18:26 +0000)
committerclaudio <claudio@openbsd.org>
Thu, 4 Nov 2021 18:26:48 +0000 (18:26 +0000)
commit82c9ebfef76b295c9cb6a7f3797c555ef49f768d
tree7f8790bf622f9f9c86bf3e03e05eb26d32c1a007
parent01362062a8323ab98e9c3626881e56f157c81939
Cleanup some old XXX needed comments. cert_parse() returns a referenced
x509 object from the call and that reference needs to be freed. There is
a second inside of struct cert but that reference is still held.
So the  X509_free() calls are indeed needed and by moving them up a bit
the code gets a bit simpler too.
With and OK tb@
usr.sbin/rpki-client/parser.c