Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix extra spaces and tabs issues

  • Loading branch information...
commit 085e83cd1f41643fb68fcff5646a9c12b8f6c01d 1 parent 5960efb
@LudovicRousseau authored
Showing with 13 additions and 13 deletions.
  1. +13 −13 src/pkcs11/pkcs11-spy.c
View
26 src/pkcs11/pkcs11-spy.c
@@ -137,7 +137,7 @@ static CK_RV init_spy(void)
return CKR_HOST_MEMORY;
}
- /*
+ /*
* Don't use getenv() as the last parameter for scconf_get_str(),
* as we want to be able to override configuration file via
* environment variables
@@ -148,14 +148,14 @@ static CK_RV init_spy(void)
}
#ifdef _WIN32
if (!spy_output) {
- /* try for the machine version first, as we may be runing
- * without a user during login
+ /* try for the machine version first, as we may be runing
+ * without a user during login
*/
rc = RegOpenKeyEx( HKEY_LOCAL_MACHINE, "Software\\OpenSC Project\\PKCS11-Spy",
0, KEY_QUERY_VALUE, &hKey );
if (rc != ERROR_SUCCESS ) {
- rc = RegOpenKeyEx( HKEY_CURRENT_USER, "Software\\OpenSC Project\\PKCS11-Spy",
- 0, KEY_QUERY_VALUE, &hKey );
+ rc = RegOpenKeyEx( HKEY_CURRENT_USER, "Software\\OpenSC Project\\PKCS11-Spy",
+ 0, KEY_QUERY_VALUE, &hKey );
}
if( rc == ERROR_SUCCESS ) {
temp_len = PATH_MAX;
@@ -177,13 +177,13 @@ static CK_RV init_spy(void)
#ifdef _WIN32
if (!module) {
/* try for the machine version first, as we may be runing
- * without a user during login
+ * without a user during login
*/
rc = RegOpenKeyEx( HKEY_LOCAL_MACHINE, "Software\\OpenSC Project\\PKCS11-Spy",
0, KEY_QUERY_VALUE, &hKey );
if (rc != ERROR_SUCCESS ) {
- rc = RegOpenKeyEx( HKEY_CURRENT_USER, "Software\\OpenSC Project\\PKCS11-Spy",
- 0, KEY_QUERY_VALUE, &hKey );
+ rc = RegOpenKeyEx( HKEY_CURRENT_USER, "Software\\OpenSC Project\\PKCS11-Spy",
+ 0, KEY_QUERY_VALUE, &hKey );
}
if( rc == ERROR_SUCCESS ) {
temp_len = PATH_MAX;
@@ -204,9 +204,9 @@ static CK_RV init_spy(void)
if (modhandle && po) {
fprintf(spy_output, "Loaded: \"%s\"\n", module);
} else {
- po = NULL;
- free(pkcs11_spy);
- rv = CKR_GENERAL_ERROR;
+ po = NULL;
+ free(pkcs11_spy);
+ rv = CKR_GENERAL_ERROR;
}
return rv;
}
@@ -288,7 +288,7 @@ CK_RV C_GetFunctionList
if (po == NULL) {
CK_RV rv = init_spy();
if (rv != CKR_OK)
- return rv;
+ return rv;
}
enter("C_GetFunctionList");
@@ -303,7 +303,7 @@ CK_RV C_Initialize(CK_VOID_PTR pInitArgs)
if (po == NULL) {
rv = init_spy();
if (rv != CKR_OK)
- return rv;
+ return rv;
}
enter("C_Initialize");
Please sign in to comment.
Something went wrong with that request. Please try again.