changes for VS.NET 2003
parent
5b28785cf0
commit
f7e64c2efc
|
|
@ -35,7 +35,7 @@ static int DummyAssignIntToInteger = (AssignIntToInteger = FunctionAssignIntToIn
|
||||||
|
|
||||||
#ifdef SSE2_INTRINSICS_AVAILABLE
|
#ifdef SSE2_INTRINSICS_AVAILABLE
|
||||||
template <class T>
|
template <class T>
|
||||||
AllocatorBase<T>::pointer AlignedAllocator<T>::allocate(size_type n, const void *)
|
CPP_TYPENAME AllocatorBase<T>::pointer AlignedAllocator<T>::allocate(size_type n, const void *)
|
||||||
{
|
{
|
||||||
if (n < 4)
|
if (n < 4)
|
||||||
return new T[n];
|
return new T[n];
|
||||||
|
|
|
||||||
4
pubkey.h
4
pubkey.h
|
|
@ -747,13 +747,13 @@ void DL_PublicKey<T>::AssignFrom(const NameValuePairs &source)
|
||||||
class OID;
|
class OID;
|
||||||
|
|
||||||
//! .
|
//! .
|
||||||
template <class PK, class GP>
|
template <class PK, class GP, class O = OID>
|
||||||
class DL_KeyImpl : public PK
|
class DL_KeyImpl : public PK
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
typedef GP GroupParameters;
|
typedef GP GroupParameters;
|
||||||
|
|
||||||
OID GetAlgorithmID() const {return GetGroupParameters().GetAlgorithmID();}
|
O GetAlgorithmID() const {return GetGroupParameters().GetAlgorithmID();}
|
||||||
// void BERDecode(BufferedTransformation &bt)
|
// void BERDecode(BufferedTransformation &bt)
|
||||||
// {PK::BERDecode(bt);}
|
// {PK::BERDecode(bt);}
|
||||||
// void DEREncode(BufferedTransformation &bt) const
|
// void DEREncode(BufferedTransformation &bt) const
|
||||||
|
|
|
||||||
4
test.cpp
4
test.cpp
|
|
@ -695,7 +695,7 @@ void InformationDisperseFile(int threshold, int nShares, const char *filename)
|
||||||
|
|
||||||
vector_member_ptrs<FileSink> fileSinks(nShares);
|
vector_member_ptrs<FileSink> fileSinks(nShares);
|
||||||
string channel;
|
string channel;
|
||||||
for (unsigned int i=0; i<nShares; i++)
|
for (int i=0; i<nShares; i++)
|
||||||
{
|
{
|
||||||
char extension[5] = ".000";
|
char extension[5] = ".000";
|
||||||
extension[1]='0'+byte(i/100);
|
extension[1]='0'+byte(i/100);
|
||||||
|
|
@ -719,7 +719,7 @@ void InformationRecoverFile(int threshold, const char *outFilename, char *const
|
||||||
|
|
||||||
vector_member_ptrs<FileSource> fileSources(threshold);
|
vector_member_ptrs<FileSource> fileSources(threshold);
|
||||||
SecByteBlock channel(4);
|
SecByteBlock channel(4);
|
||||||
unsigned int i;
|
int i;
|
||||||
for (i=0; i<threshold; i++)
|
for (i=0; i<threshold; i++)
|
||||||
{
|
{
|
||||||
fileSources[i].reset(new FileSource(inFilenames[i], false));
|
fileSources[i].reset(new FileSource(inFilenames[i], false));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue