Index: trunk/src/sh_sig.c
===================================================================
--- trunk/src/sh_sig.c	(revision 560)
+++ trunk/src/sh_sig.c	(revision 561)
@@ -717,5 +717,5 @@
   sl_rewind (fdTmp);
 
-#if 0
+#if defined(SH_DEBUG_SIGNIFY)
   fin_cp = fdopen(dup(get_the_fd(fdTmp)), "rb");
   FILE * fout = fopen("xxx.out", "w+");
Index: trunk/src/sh_xfer_server.c
===================================================================
--- trunk/src/sh_xfer_server.c	(revision 560)
+++ trunk/src/sh_xfer_server.c	(revision 561)
@@ -1230,9 +1230,4 @@
   int        bytes;
   SL_TICKET  sfd = -1;
-#ifdef SH_ENCRYPT
-  int        blkfac;
-  int        rem;
-  int        send_bytes;
-#endif
 
   if (conn == NULL    || conn->FileName == NULL)
@@ -1281,24 +1276,9 @@
       if (bytes >= 0)
 	{
+	  send_buf = hash_me(conn->K, read_buf,  bytes);
 #ifdef SH_ENCRYPT
-	  /* need to send N * B_SIZ bytes
-	   */ 
-	  blkfac = bytes / B_SIZ;
-	  rem    = bytes - (blkfac * B_SIZ);
-	  if (rem != 0)
-	    {
-	      memset(&read_buf[bytes], '\n', (B_SIZ-rem));
-	      ++blkfac;
-	      send_bytes = blkfac * B_SIZ;
-	    }
-	  else
-	    send_bytes = bytes;
-	  
-	  send_buf = hash_me(conn->K, read_buf,  send_bytes);
-	  
-	  sh_xfer_send_crypt (conn, send_buf, send_bytes+KEY_LEN, _("FILE"),  
+	  sh_xfer_send_crypt (conn, send_buf, bytes+KEY_LEN, _("FILE"),  
 				      SH_PROTO_BIG|conn->client_entry->encf_flag);
 #else
-	  send_buf = hash_me(conn->K, read_buf, bytes);
 	  sh_xfer_send_crypt (conn, send_buf, bytes+KEY_LEN, _("FILE"),  
 				      SH_PROTO_BIG);
