/*
- * Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
+ * Copyright 2019-2020 The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the Apache License 2.0 (the "License");
* you may not use this file except in compliance with the License.
double p2;
/*
* Documented as an arbitrarly large unsigned integer.
- * The data size must be large enough to accomodate.
+ * The data size must be large enough to accommodate.
* Assumed data type OSSL_PARAM_UNSIGNED_INTEGER
*/
BIGNUM *p3;
/*
* Documented as a C string.
- * The data size must be large enough to accomodate.
+ * The data size must be large enough to accommodate.
* Assumed data type OSSL_PARAM_UTF8_STRING
*/
char *p4;
/* In all our tests, these are variables that get manipulated as parameters
*
- * These arrays consistenly do nothing with the "p2" parameter, and
+ * These arrays consistently do nothing with the "p2" parameter, and
* always include a "foo" parameter. This is to check that the
* set_params and get_params calls ignore the lack of parameters that
* the application isn't interested in, as well as ignore parameters
|| !TEST_size_t_eq(p->return_size, sizeof(p6_init)) /* "provider" value */
|| !TEST_str_eq(app_p6, p6_init) /* "provider" value */
|| !TEST_char_eq(foo[0], app_foo_init) /* Should remain untouched */
- || !TEST_ptr(p = OSSL_PARAM_locate(params, "foo"))
- || !TEST_int_eq(p->return_size, 0))
+ || !TEST_ptr(p = OSSL_PARAM_locate(params, "foo")))
errcnt++;
/*
sizeof(app_p6_init)) /* app value */
|| !TEST_str_eq(app_p6, app_p6_init) /* app value */
|| !TEST_char_eq(foo[0], app_foo_init) /* Should remain untouched */
- || !TEST_ptr(p = OSSL_PARAM_locate(params, "foo"))
- || !TEST_int_eq(p->return_size, 0))
+ || !TEST_ptr(p = OSSL_PARAM_locate(params, "foo")))
errcnt++;
fin: