fix indent, patch supplied by Martin Paljak

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@2082 c6295689-39f2-0310-b995-f0e70906c6a9
This commit is contained in:
nils 2005-01-19 16:17:32 +00:00
parent 7ed9a18d51
commit 8a0fc5bdcf
4 changed files with 35 additions and 37 deletions

View File

@ -121,8 +121,7 @@ int sc_pkcs15_encode_aodf_entry(struct sc_context *ctx,
struct sc_pkcs15_pin_info *pin =
(struct sc_pkcs15_pin_info *) obj->data;
struct sc_asn1_pkcs15_object pin_obj = { (struct sc_pkcs15_object *) obj,
asn1_com_ao_attr, NULL,
asn1_type_pin_attr };
asn1_com_ao_attr, NULL, asn1_type_pin_attr };
int r;
size_t flags_len;
size_t padchar_len = 1;

View File

@ -319,7 +319,8 @@ int sc_pkcs15_compute_signature(struct sc_pkcs15_card *p15card,
*
* Right now we work around this by assuming that eToken keys
* always have algorithm RSA_PURE_SIG so the input buffer
* is padded and has the same length as the signature. --okir */
* is padded and has the same length as the signature. --okir
*/
if (tmpin == out) {
memcpy(tmpout, tmpin, inlen);
tmpin = tmpout;

View File

@ -514,9 +514,7 @@ static int pcsc_init(struct sc_context *ctx, void **reader_data)
struct pcsc_global_private_data *gpriv;
rv = SCardEstablishContext(SCARD_SCOPE_GLOBAL,
NULL,
NULL,
&pcsc_ctx);
NULL, NULL, &pcsc_ctx);
if (rv != SCARD_S_SUCCESS)
return pcsc_ret_to_error(rv);
rv = SCardListReaders(pcsc_ctx, NULL, NULL,