Invalidate the DER cache earlier on in X509 setter functions
authorjob <job@openbsd.org>
Tue, 25 Apr 2023 10:18:39 +0000 (10:18 +0000)
committerjob <job@openbsd.org>
Tue, 25 Apr 2023 10:18:39 +0000 (10:18 +0000)
commit92e946e3012de08bfa2313b3b41b716a3f504879
treec68580aba8d795fbcfaa27b81fb0f00331ddf2bb
parent4b81c2944f9321aabb43c275946f06c69bd7f723
Invalidate the DER cache earlier on in X509 setter functions

Note that it is important to invalidate the cache before returning,
as the return might bubble up an error.

OK tb@ jsing@
lib/libcrypto/x509/x509_set.c