aboutsummaryrefslogtreecommitdiff
path: root/security/nettle2/files/patch-examples_nettle-openssl.c
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2004-05-15 15:49:17 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2004-05-15 15:49:17 +0000
commit6f316ce2e89f972a4f22e1b97e1dda5e9d58cefa (patch)
treefb8d61358190cc429db453d54fb9920ccfde716f /security/nettle2/files/patch-examples_nettle-openssl.c
parentea16706c62b542adc8f3b887256bf215bf914db6 (diff)
Diffstat (limited to 'security/nettle2/files/patch-examples_nettle-openssl.c')
-rw-r--r--security/nettle2/files/patch-examples_nettle-openssl.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/security/nettle2/files/patch-examples_nettle-openssl.c b/security/nettle2/files/patch-examples_nettle-openssl.c
deleted file mode 100644
index dbd034518587..000000000000
--- a/security/nettle2/files/patch-examples_nettle-openssl.c
+++ /dev/null
@@ -1,29 +0,0 @@
---- examples/nettle-openssl.c.orig Fri Nov 8 16:05:20 2002
-+++ examples/nettle-openssl.c Thu May 1 12:52:10 2003
-@@ -93,7 +93,7 @@
- openssl_des_set_key(void *ctx, unsigned length, const uint8_t *key)
- {
- assert(length == 8);
-- des_key_sched((char *) key, ctx);
-+ des_key_sched((const_DES_cblock *)key, ctx);
- }
-
- #define DES_BLOCK_SIZE 8
-@@ -105,7 +105,7 @@
- assert (!(length % DES_BLOCK_SIZE));
- while (length)
- {
-- des_ecb_encrypt((char *) src, (char *) dst, ctx, DES_ENCRYPT);
-+ des_ecb_encrypt((const_DES_cblock *)src, (DES_cblock *)dst, ctx, DES_ENCRYPT);
- length -= DES_BLOCK_SIZE;
- dst += DES_BLOCK_SIZE;
- src += DES_BLOCK_SIZE;
-@@ -119,7 +119,7 @@
- assert (!(length % DES_BLOCK_SIZE));
- while (length)
- {
-- des_ecb_encrypt((char *) src, (char *) dst, ctx, DES_DECRYPT);
-+ des_ecb_encrypt((const_DES_cblock *) src, (DES_cblock *) dst, ctx, DES_DECRYPT);
- length -= DES_BLOCK_SIZE;
- dst += DES_BLOCK_SIZE;
- src += DES_BLOCK_SIZE;