pkcs15.h: Fixes type inconsistency, because in [http://www.opensc-project.org/opensc/browser/trunk/src/libopensc/opensc.h?rev=5190#L148 opensc.h] algo_ref is defined as unsigned int.
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5299 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
93deff0161
commit
ac3a48d7ca
|
@ -2097,8 +2097,7 @@ int
|
|||
sc_pkcs15_add_supported_algo_ref(struct sc_pkcs15_object *obj,
|
||||
struct sc_supported_algo_info *algo)
|
||||
{
|
||||
int *algo_refs = NULL;
|
||||
int ii;
|
||||
unsigned int ii, *algo_refs = NULL;
|
||||
|
||||
if (!algo)
|
||||
return SC_SUCCESS;
|
||||
|
|
|
@ -319,7 +319,7 @@ struct sc_pkcs15_prkey_info {
|
|||
size_t modulus_length; /* RSA */
|
||||
size_t field_length; /* EC in bits */
|
||||
|
||||
int algo_refs[SC_MAX_SUPPORTED_ALGORITHMS];
|
||||
unsigned int algo_refs[SC_MAX_SUPPORTED_ALGORITHMS];
|
||||
|
||||
struct sc_pkcs15_der subject;
|
||||
|
||||
|
@ -338,7 +338,7 @@ struct sc_pkcs15_pubkey_info {
|
|||
size_t modulus_length; /* RSA */
|
||||
size_t field_length; /* EC in bits */
|
||||
|
||||
int algo_refs[SC_MAX_SUPPORTED_ALGORITHMS];
|
||||
unsigned int algo_refs[SC_MAX_SUPPORTED_ALGORITHMS];
|
||||
|
||||
struct sc_pkcs15_der subject;
|
||||
|
||||
|
|
Loading…
Reference in New Issue