1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

upgrade to 1.2.1

PR:		51903
Submitted by:	Kirill Ponomarew <ponomarew@oberon.net>
This commit is contained in:
Ying-Chieh Liao 2003-05-12 08:30:33 +00:00
parent 72ec28fddd
commit d5b41b948b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=80806
4 changed files with 3 additions and 37 deletions

View File

@ -7,7 +7,7 @@
#
PORTNAME= botan
PORTVERSION= 1.2.0
PORTVERSION= 1.2.1
PORTREVISION= 0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}

View File

@ -1 +1 @@
MD5 (Botan-1.2.0.tgz) = 0792fbd2d1927e7c167b65d9c30a9c9c
MD5 (Botan-1.2.1.tgz) = 719c8b28adecc1a042b767fbb72ae8fc

View File

@ -1,34 +0,0 @@
--- src/pipe_io.cpp.orig Fri May 10 10:10:27 2002
+++ src/pipe_io.cpp Fri May 10 10:10:57 2002
@@ -33,12 +33,12 @@
{
static const u32bit BUFFERSIZE = DEFAULT_BUFFERSIZE;
SecureBuffer<byte, BUFFERSIZE> buffer;
- while(!std::ferror(stream) && pipe.remaining())
+ while(!ferror(stream) && pipe.remaining())
{
u32bit got = pipe.read(buffer, BUFFERSIZE);
- std::fwrite(buffer, 1, got, stream);
+ fwrite(buffer, 1, got, stream);
}
- if(std::ferror(stream))
+ if(ferror(stream))
throw Stream_IO_Error("Pipe output operator (stdio) has failed");
return stream;
}
@@ -67,12 +67,12 @@
{
static const u32bit BUFFERSIZE = DEFAULT_BUFFERSIZE;
SecureBuffer<byte, BUFFERSIZE> buffer;
- while(!std::ferror(stream) && !std::feof(stream))
+ while(!ferror(stream) && !feof(stream))
{
- u32bit got = std::fread(buffer, 1, BUFFERSIZE, stream);
+ u32bit got = fread(buffer, 1, BUFFERSIZE, stream);
pipe.write(buffer, got);
}
- if(std::ferror(stream))
+ if(ferror(stream))
throw Stream_IO_Error("Pipe input operator (stdio) has failed");
return stream;
}

View File

@ -151,7 +151,7 @@ include/botan/x917_rng.h
include/botan/x919_mac.h
include/botan/xtea.h
lib/libbotan.a
lib/libbotan-1.2.0.so
lib/libbotan-1.2.1.so
lib/libbotan-1.2.so
lib/libbotan-1.so
lib/libbotan.so