rpki-client: sprinkle some const
authortb <tb@openbsd.org>
Wed, 16 Oct 2024 06:09:45 +0000 (06:09 +0000)
committertb <tb@openbsd.org>
Wed, 16 Oct 2024 06:09:45 +0000 (06:09 +0000)
commit9a67f0c9d9b9238855dbefcd283a3822c9370033
treecc9ba7af20f3b022fafc92b75a0ee1fb88ac05c3
parent3bf609606383b69386b4eb5a4c7c76fa696949a5
rpki-client: sprinkle some const

EVP_PKEY_get0_* were made const correct in OpenSSL 3 and now cause the
build of rpki-client to emit warnings. Of course no one is able to see
these warnings because they are hidden in all the deprecation vomit.

Makes rpki-client build cleanly against OpenSSL 3 when configured with
--with-openssl-cflags=-DOPENSSL_SUPPRESS_DEPRECATED.

ok claudio deraadt job
usr.sbin/rpki-client/validate.c
usr.sbin/rpki-client/x509.c