aboutsummaryrefslogtreecommitdiff
path: root/test/mdc2test.c
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2019-06-24 14:43:55 +1000
committerPauli <paul.dale@oracle.com>2019-06-24 14:43:55 +1000
commit4e7991b497b65145ec5d570485020e1658208866 (patch)
tree34e384b7aa820b0b7ccefddee9a0fbd86c8850fb /test/mdc2test.c
parent0ccff7a7ea82a921f780a483fc91c6b90a1378d9 (diff)
downloadopenssl-4e7991b497b65145ec5d570485020e1658208866.zip
openssl-4e7991b497b65145ec5d570485020e1658208866.tar.gz
openssl-4e7991b497b65145ec5d570485020e1658208866.tar.bz2
Change OSSL_PARAM return size to not be a pointer.
Instead of referencing the return size from the OSSL_PARAM structure, make the size a field within the structure. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9135)
Diffstat (limited to 'test/mdc2test.c')
-rw-r--r--test/mdc2test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mdc2test.c b/test/mdc2test.c
index 418a256..5b54f10 100644
--- a/test/mdc2test.c
+++ b/test/mdc2test.c
@@ -48,7 +48,7 @@ static int test_mdc2(void)
OSSL_PARAM params[2];
params[i++] = OSSL_PARAM_construct_int(OSSL_DIGEST_PARAM_PAD_TYPE,
- &pad_type, NULL),
+ &pad_type),
params[i++] = OSSL_PARAM_construct_end();
prov = OSSL_PROVIDER_load(NULL, "legacy");