framework-pkcs15.c: In function ‘set_gost_params’:

framework-pkcs15.c:1892: warning: comparison between signed and unsigned
framework-pkcs15.c:1902: warning: comparison between signed and unsigned


git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5529 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
andre 2011-05-31 15:09:01 +00:00
parent 185e3f8259
commit 7dff44ae53
1 changed files with 1 additions and 1 deletions

View File

@ -1884,7 +1884,7 @@ set_gost_params(struct sc_pkcs15init_keyarg_gost_params *first_params,
else
rv = attr_find(pPubTpl, ulPubCnt, CKA_GOSTR3410_PARAMS, &gost_params_oid, &len);
if (rv == CKR_OK) {
int nn = sizeof(gostr3410_param_oid)/sizeof(gostr3410_param_oid[0]);
size_t nn = sizeof(gostr3410_param_oid)/sizeof(gostr3410_param_oid[0]);
if (len != GOST_PARAMS_OID_SIZE)
return CKR_ATTRIBUTE_VALUE_INVALID;