From 790a1b030ac6f968104e17fe5b721c581ebd1d3e Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Mon, 27 Jul 2020 22:11:53 +0200 Subject: DESERIALIZER: Small bugfix in the deser_process() Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/12544) --- crypto/serializer/deserializer_lib.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crypto/serializer/deserializer_lib.c b/crypto/serializer/deserializer_lib.c index 7229bd3631..aa3b552786 100644 --- a/crypto/serializer/deserializer_lib.c +++ b/crypto/serializer/deserializer_lib.c @@ -443,7 +443,8 @@ static int deser_process(const OSSL_PARAM params[], void *arg) * that's the case, we do this extra check. */ if (deser == NULL && ctx->start_input_type != NULL - && strcasecmp(ctx->start_input_type, deser_inst->input_type) != 0) + && strcasecmp(ctx->start_input_type, + new_deser_inst->input_type) != 0) continue; /* -- cgit v1.2.3