]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
DESERIALIZER: Small bugfix in the deser_process()
authorRichard Levitte <levitte@openssl.org>
Mon, 27 Jul 2020 20:11:53 +0000 (22:11 +0200)
committerPauli <paul.dale@oracle.com>
Sat, 1 Aug 2020 01:51:20 +0000 (11:51 +1000)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12544)

crypto/serializer/deserializer_lib.c

index 7229bd36314827893b5b4967cebd749238404e7c..aa3b5527860edf38adb00964a8a5f317a7ddf6cf 100644 (file)
@@ -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;
 
         /*