From 633ede6f3940df1194bfb388e875a017e5b54126 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Thu, 26 Feb 2004 10:30:56 +0100
Subject: [PATCH] (nettle_crypt_func): Typedef moved to cbc.h. Include cbc.h
 instead.

Rev: src/nettle/nettle-meta.h:1.12
---
 nettle-meta.h | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/nettle-meta.h b/nettle-meta.h
index 9a74cb32..5bcf9199 100644
--- a/nettle-meta.h
+++ b/nettle-meta.h
@@ -28,6 +28,9 @@
 
 #include "nettle-types.h"
 
+/* For nettle_crypt_func */
+#include "cbc.h"
+
 /* Randomness. Used by key generation and dsa signature creation. */
 typedef void (*nettle_random_func)(void *ctx,
 				   unsigned length, uint8_t *dst);
@@ -37,13 +40,9 @@ typedef void (*nettle_progress_func)(void *ctx,
 				     int c);
 
 /* Ciphers */
-typedef void (*nettle_crypt_func)(void *ctx,
-				  unsigned length, uint8_t *dst,
-				  const uint8_t *src);
-
 typedef void (*nettle_set_key_func)(void *ctx,
-				   unsigned length,
-				   const uint8_t *key);
+				    unsigned length,
+				    const uint8_t *key);
 
 
 struct nettle_cipher
-- 
GitLab