Dedup econtent version checks
authortb <tb@openbsd.org>
Fri, 10 Jun 2022 10:36:43 +0000 (10:36 +0000)
committertb <tb@openbsd.org>
Fri, 10 Jun 2022 10:36:43 +0000 (10:36 +0000)
commit8e5b983981e1c395e2fcdd6322e60eedde714623
tree3731cf0e36bb38cfdcbe46ae1279f753b4f90e55
parent0be5e928845b741c9c0f7c1669bc1b98078d4dae
Dedup econtent version checks

Since the ASN.1 template conversions, we have three copies of mostly dead
code that validates that the econtent version is at its default value 0.
Until a new standard bumps this version and we decide to support that,
we're better off with only one copy of this code.

ok claudio
usr.sbin/rpki-client/extern.h
usr.sbin/rpki-client/mft.c
usr.sbin/rpki-client/roa.c
usr.sbin/rpki-client/rsc.c
usr.sbin/rpki-client/validate.c