Blame SOURCES/trousers-0.3.14-fix-indent-tspi_key.patch

efa152
diff -ur trousers-0.3.14/src/tspi/tspi_key.c trousers-0.3.14-new/src/tspi/tspi_key.c
efa152
--- trousers-0.3.14/src/tspi/tspi_key.c	2014-07-23 12:42:45.000000000 -0700
efa152
+++ trousers-0.3.14-new/src/tspi/tspi_key.c	2019-05-27 13:44:42.366735438 -0700
efa152
@@ -370,10 +370,10 @@
efa152
 	/* get the key to be wrapped's private key */
efa152
 	if ((result = obj_rsakey_get_priv_blob(hKey, &keyPrivBlobLen, &keyPrivBlob)))
efa152
 		goto done;
efa152
-    /* verify if its under the maximum size, according to the
efa152
-     * TPM_STORE_ASYMKEY specification */
efa152
-    if (keyPrivBlobLen > TPM_STORE_PRIVKEY_LEN)
efa152
-        return TSPERR(TSS_E_ENC_INVALID_LENGTH);
efa152
+	/* verify if its under the maximum size, according to the
efa152
+	 * TPM_STORE_ASYMKEY specification */
efa152
+	if (keyPrivBlobLen > TPM_STORE_PRIVKEY_LEN)
efa152
+		return TSPERR(TSS_E_ENC_INVALID_LENGTH);
efa152
 
efa152
 	/* get the key to be wrapped's blob */
efa152
 	if ((result = obj_rsakey_get_blob(hKey, &keyBlobLen, &keyBlob)))