coverity 1462550 Resource leak
[openssl.git] / crypto / params_from_text.c
index 25671c592c137593cc56715f8f724cf0027f6b52..14b64edb6bb8de925e6b869529d92505e971e388 100644 (file)
@@ -157,7 +157,7 @@ static int construct_from_text(OSSL_PARAM *to, const OSSL_PARAM *paramdef,
     *to = *paramdef;
     to->data = buf;
     to->data_size = buf_n;
-    to->return_size = 0;
+    to->return_size = OSSL_PARAM_UNMODIFIED;
 
     return 1;
 }