Params: add argument to the _from_text calls to indicate if the param exists.
[openssl.git] / include / openssl / params.h
index a5d2fd4f41bba0f9a72c49a710bcdffaf4ecc456..cd0f7846d7e6818eece5e9c18cdfaf8438f4cbfb 100644 (file)
@@ -92,7 +92,7 @@ OSSL_PARAM OSSL_PARAM_construct_end(void);
 int OSSL_PARAM_allocate_from_text(OSSL_PARAM *to,
                                   const OSSL_PARAM *paramdefs,
                                   const char *key, const char *value,
-                                  size_t value_n);
+                                  size_t value_n, int *found);
 
 int OSSL_PARAM_get_int(const OSSL_PARAM *p, int *val);
 int OSSL_PARAM_get_uint(const OSSL_PARAM *p, unsigned int *val);