]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
DEVEL15-des-no-obsolete-encrypt-20060725
authorDerrick Brashear <shadow@dementia.org>
Tue, 25 Jul 2006 15:47:41 +0000 (15:47 +0000)
committerDerrick Brashear <shadow@dementia.org>
Tue, 25 Jul 2006 15:47:41 +0000 (15:47 +0000)
this version of encrypt() conflicts with current linux (which returns void)

we don't use it, so, buh-bye

(cherry picked from commit 68e8e996b6cc82d5097e82a4c9c8af9eb8c3c093)

src/des/crypt.c

index a17c2a71a43597c7ad258a68e1243947e88268b0..72a1883e597fc22bb86a94d0ede094bbfb18875b 100644 (file)
@@ -963,6 +963,7 @@ setkey(key)
 }
 #endif
 
+#if 0
 /*
  * "encrypt" routine (for backwards compatibility)
  */
@@ -993,6 +994,7 @@ encrypt(block, flag)
     }
     return (0);
 }
+#endif
 
 #ifdef CRYPT_DEBUG
 STATIC