diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-09-11 12:21:59 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-09-11 13:21:04 +0200 |
commit | aa2cc04b9ef04404b719db5d693e6f146dbe026a (patch) | |
tree | 469b7b176428d24e797ae39105705eea45ef1901 /lib/pkcs11_write.c | |
parent | 09f1d96b662d34c55de9903a8a890ad887bcd699 (diff) | |
download | gnutls-aa2cc04b9ef04404b719db5d693e6f146dbe026a.tar.gz |
several spacing fixes to keep syntax-check happy
Diffstat (limited to 'lib/pkcs11_write.c')
-rw-r--r-- | lib/pkcs11_write.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/pkcs11_write.c b/lib/pkcs11_write.c index 5732a8e373..79c1f93c9e 100644 --- a/lib/pkcs11_write.c +++ b/lib/pkcs11_write.c @@ -162,12 +162,12 @@ gnutls_pkcs11_copy_x509_crt2(const char *token_url, id_size = sizeof(id); ret = gnutls_x509_crt_get_subject_key_id(crt, id, &id_size, NULL); if (ret < 0) { - id_size = sizeof(id); + id_size = sizeof(id); ret = gnutls_x509_crt_get_key_id(crt, 0, id, &id_size); if (ret < 0) { gnutls_assert(); goto cleanup; - } + } } a[1].value = id; @@ -494,7 +494,7 @@ gnutls_pkcs11_copy_pubkey(const char *token_url, ret = 0; cleanup: - clean_pubkey(a, a_val); + clean_pubkey(a, a_val); pkcs11_close_session(&sinfo); return ret; @@ -980,8 +980,8 @@ struct delete_data_st { static int delete_obj_url_cb(struct ck_function_list *module, struct pkcs11_session_info *sinfo, - struct ck_token_info *tinfo, - struct ck_info *lib_info, void *input) + struct ck_token_info *tinfo, + struct ck_info *lib_info, void *input) { struct delete_data_st *find_data = input; struct ck_attribute a[4]; |