1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

- Update to 0.7.1

PR:		ports/125957
Submitted by:	VANHULLEBUS Yvan <vanhu@netasq.com> (maintainer)
This commit is contained in:
Beech Rintoul 2008-07-25 21:39:29 +00:00
parent 64b4e6da77
commit b190a8cde5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=217508
3 changed files with 4 additions and 44 deletions

View File

@ -10,7 +10,7 @@
# - $LOCALBASE/sbin/setkey Vs /usr/sbin/setkey
PORTNAME= ipsec-tools
PORTVERSION= 0.7
PORTVERSION= 0.7.1
CATEGORIES= security
MASTER_SITES= SF

View File

@ -1,3 +1,3 @@
MD5 (ipsec-tools-0.7.tar.bz2) = c0a586924edde35264ecfe94ad1c261f
SHA256 (ipsec-tools-0.7.tar.bz2) = e99919b0ffcd86e10775ef039c340b50e45d6a4169a8465263c86b62addf0ff4
SIZE (ipsec-tools-0.7.tar.bz2) = 645146
MD5 (ipsec-tools-0.7.1.tar.bz2) = 30b196a2829556182c39aed9f83c0bbf
SHA256 (ipsec-tools-0.7.1.tar.bz2) = ca9895808d354cc3e1c114687bb66a5f8efac2c6c42fce39687b369624c62fc0
SIZE (ipsec-tools-0.7.1.tar.bz2) = 784046

View File

@ -1,40 +0,0 @@
--- src/racoon/crypto_openssl.c.orig 2006-12-18 16:18:10.000000000 +0600
+++ src/racoon/crypto_openssl.c 2008-03-28 16:36:05.000000000 +0600
@@ -1391,15 +1391,15 @@
RC5_32_KEY ks;
/* in RFC 2451, there is information about the number of round. */
- RC5_32_set_key(&ks, key->l, key->v, 16);
+ RC5_32_set_key(&ks, key->l, (unsigned char*)key->v, 16);
/* allocate buffer for result */
if ((res = vmalloc(data->l)) == NULL)
return NULL;
/* decryption data */
- RC5_32_cbc_encrypt(data->v, res->v, data->l,
- &ks, iv->v, RC5_ENCRYPT);
+ RC5_32_cbc_encrypt( (unsigned char*)data->v, (unsigned char*)res->v, data->l,
+ &ks, (unsigned char*)iv->v, RC5_ENCRYPT);
return res;
}
@@ -1412,15 +1412,15 @@
RC5_32_KEY ks;
/* in RFC 2451, there is information about the number of round. */
- RC5_32_set_key(&ks, key->l, key->v, 16);
+ RC5_32_set_key(&ks, key->l, (unsigned char*)key->v, 16);
/* allocate buffer for result */
if ((res = vmalloc(data->l)) == NULL)
return NULL;
/* decryption data */
- RC5_32_cbc_encrypt(data->v, res->v, data->l,
- &ks, iv->v, RC5_DECRYPT);
+ RC5_32_cbc_encrypt( (unsigned char*)data->v, (unsigned char*)res->v, data->l,
+ &ks, (unsigned char*)iv->v, RC5_DECRYPT);
return res;
}