libssh: Silence some redefinition warnings.
authorSascha Wildner <saw@online.de>
Sun, 25 Jan 2015 18:33:15 +0000 (19:33 +0100)
committerSascha Wildner <saw@online.de>
Sun, 25 Jan 2015 18:33:15 +0000 (19:33 +0100)
Taken-from:   FreeBSD
Submitted-by: Robin Hahling <robin.hahling@gw-computing.net>
crypto/openssh/umac128.c

index 52f9173..628fcf6 100644 (file)
@@ -1,6 +1,13 @@
+/* $FreeBSD: head/crypto/openssh/umac128.c 255767 2013-09-21 21:36:09Z des $ */
 #define        UMAC_OUTPUT_LEN 16
+#undef umac_ctx
+#define        umac_ctx        umac128_ctx
+#undef umac_new
 #define        umac_new        umac128_new
+#undef umac_update
 #define        umac_update     umac128_update
+#undef umac_final
 #define        umac_final      umac128_final
+#undef umac_delete
 #define        umac_delete     umac128_delete
 #include "umac.c"