Fix compiler warnings

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@195 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
aet 2002-01-26 12:16:13 +00:00
parent 17332ea10e
commit d36e9ba93c
2 changed files with 1 additions and 2 deletions

View File

@ -30,7 +30,7 @@
static int generate_cache_filename(struct sc_pkcs15_card *p15card,
const struct sc_path *path,
u8 *buf, size_t bufsize)
char *buf, size_t bufsize)
{
char dir[80];
char pathname[SC_MAX_PATH_SIZE*2+1];

View File

@ -602,7 +602,6 @@ CK_RV pkcs15_pubkey_get_attribute(struct sc_pkcs11_session *session,
break;
case CKA_MODULUS_BITS:
case CKA_PUBLIC_EXPONENT:
//break;
default:
return CKR_ATTRIBUTE_TYPE_INVALID;
}