summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2020-07-27 22:11:53 +0200
committerPauli <paul.dale@oracle.com>2020-08-01 11:51:20 +1000
commit790a1b030ac6f968104e17fe5b721c581ebd1d3e (patch)
treecbf93897055b8330050b71ac4acf20bc9f4ff98c
parent1dbf4537738d86d8078b74c89e38b6ed0b2b1196 (diff)
DESERIALIZER: Small bugfix in the deser_process()
Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/12544)
-rw-r--r--crypto/serializer/deserializer_lib.c3
1 files changed, 2 insertions, 1 deletions
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;
/*