whitespace difference in openssh.8.0/ssh-pkcs11.c vs portable.

Markus Schmidt markus at blueflash.cc
Thu Apr 25 23:01:06 AEST 2019



To whom it may concern (if any).

Function pkcs11_k11_free is indented with tabs in openssh-8.0 (bsd) but 
indented with space characters in the portable version.




  /* release a wrapped object */
  static void
  pkcs11_k11_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad, int idx,
      long argl, void *argp)
  {
-	struct pkcs11_key	*k11 = ptr;
+        struct pkcs11_key       *k11 = ptr;

-	debug("%s: parent %p ptr %p idx %d", __func__, parent, ptr, idx);
-	if (k11 == NULL)
-		return;
-	if (k11->provider)
-		pkcs11_provider_unref(k11->provider);
-	free(k11->keyid);
-	free(k11);
+        debug("%s: parent %p ptr %p idx %d", __func__, parent, ptr, idx);
+        if (k11 == NULL)
+                return;
+        if (k11->provider)
+                pkcs11_provider_unref(k11->provider);
+        free(k11->keyid);
+        free(k11);
  }




Markus



More information about the openssh-unix-dev mailing list