framework-pkcs15: minor coding style issues

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5342 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
vtarasov 2011-04-15 16:35:29 +00:00
parent fb97d8b4b4
commit 3aae1d39c2
1 changed files with 23 additions and 22 deletions

View File

@ -3087,6 +3087,7 @@ static CK_RV
get_ec_pubkey_params(struct sc_pkcs15_pubkey *key, CK_ATTRIBUTE_PTR attr) get_ec_pubkey_params(struct sc_pkcs15_pubkey *key, CK_ATTRIBUTE_PTR attr)
{ {
struct sc_ec_params * ecp; struct sc_ec_params * ecp;
if (key == NULL) if (key == NULL)
return CKR_ATTRIBUTE_TYPE_INVALID; return CKR_ATTRIBUTE_TYPE_INVALID;
if (key->alg_id == NULL) if (key->alg_id == NULL)