Set argument only after successful dup on CMP APIs
authorraja-ashok <rashok.svks@gmail.com>
Tue, 3 Dec 2019 09:31:49 +0000 (19:31 +1000)
committerPauli <paul.dale@oracle.com>
Tue, 3 Dec 2019 09:31:49 +0000 (19:31 +1000)
commit59ae04d74a57cf791af510a717b5822950a0f875
treed368236e64b414068280e5bfb9aae929e35fe8d0
parentbe3acd799bfd0fb09ea934e4984ec9eda19d8b8f
Set argument only after successful dup on CMP APIs

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/10511)
crypto/cmp/cmp_ctx.c
crypto/cmp/cmp_util.c