coding style: tiny indent style issue
git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5545 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
parent
f53b952176
commit
c74d33d0b0
@ -203,8 +203,8 @@ static int sign(struct sc_pkcs15_object *obj)
|
|||||||
return 2;
|
return 2;
|
||||||
len = sizeof(out);
|
len = sizeof(out);
|
||||||
if (obj->type == SC_PKCS15_TYPE_PRKEY_RSA
|
if (obj->type == SC_PKCS15_TYPE_PRKEY_RSA
|
||||||
&& !(opt_crypt_flags & SC_ALGORITHM_RSA_PAD_PKCS1)
|
&& !(opt_crypt_flags & SC_ALGORITHM_RSA_PAD_PKCS1)
|
||||||
&& (size_t)c != key->modulus_length/8) {
|
&& (size_t)c != key->modulus_length/8) {
|
||||||
fprintf(stderr, "Input has to be exactly %lu bytes, when using no padding.\n",
|
fprintf(stderr, "Input has to be exactly %lu bytes, when using no padding.\n",
|
||||||
(unsigned long) key->modulus_length/8);
|
(unsigned long) key->modulus_length/8);
|
||||||
return 2;
|
return 2;
|
||||||
@ -443,6 +443,7 @@ int main(int argc, char * const argv[])
|
|||||||
goto end;
|
goto end;
|
||||||
action_count--;
|
action_count--;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (do_sign) {
|
if (do_sign) {
|
||||||
if ((err = get_key(SC_PKCS15_PRKEY_USAGE_SIGN|
|
if ((err = get_key(SC_PKCS15_PRKEY_USAGE_SIGN|
|
||||||
SC_PKCS15_PRKEY_USAGE_SIGNRECOVER|
|
SC_PKCS15_PRKEY_USAGE_SIGNRECOVER|
|
||||||
|
Loading…
Reference in New Issue
Block a user