Changeset 94404 in vbox for trunk/src/libs/openssl-3.0.2/crypto/dsa/dsa_backend.c
- Timestamp:
- Mar 31, 2022 9:00:36 AM (3 years ago)
- Location:
- trunk/src/libs/openssl-3.0.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/openssl-3.0.2
- Property svn:mergeinfo
-
old new 13 13 /vendor/openssl/1.1.1k:145841-145843 14 14 /vendor/openssl/3.0.1:150323-150324 15 /vendor/openssl/current:147554-150322 15 /vendor/openssl/3.0.2:150728-150729 16 /vendor/openssl/current:147554-150727
-
- Property svn:mergeinfo
-
trunk/src/libs/openssl-3.0.2/crypto/dsa/dsa_backend.c
r94320 r94404 1 1 /* 2 * Copyright 2020-202 1The OpenSSL Project Authors. All Rights Reserved.2 * Copyright 2020-2022 The OpenSSL Project Authors. All Rights Reserved. 3 3 * 4 4 * Licensed under the Apache License 2.0 (the "License"). You may not use … … 28 28 */ 29 29 30 int ossl_dsa_key_fromdata(DSA *dsa, const OSSL_PARAM params[]) 30 int ossl_dsa_key_fromdata(DSA *dsa, const OSSL_PARAM params[], 31 int include_private) 31 32 { 32 const OSSL_PARAM *param_priv_key , *param_pub_key;33 const OSSL_PARAM *param_priv_key = NULL, *param_pub_key; 33 34 BIGNUM *priv_key = NULL, *pub_key = NULL; 34 35 … … 36 37 return 0; 37 38 38 param_priv_key = 39 OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PRIV_KEY); 39 if (include_private) { 40 param_priv_key = 41 OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PRIV_KEY); 42 } 40 43 param_pub_key = 41 44 OSSL_PARAM_locate_const(params, OSSL_PKEY_PARAM_PUB_KEY);
Note:
See TracChangeset
for help on using the changeset viewer.