This commit is contained in:
TheLuda 2008-10-15 18:24:59 +02:00
parent 9116f0286b
commit dd6df37c14
8 changed files with 17 additions and 17 deletions

View file

@ -1,4 +1,4 @@
/* /*
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/> * Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify

View file

@ -1,4 +1,4 @@
/* /*
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/> * Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify

View file

@ -173,7 +173,7 @@ uint8 *BigNumber::AsByteArray(int minSize)
// If we need more bytes than length of BigNumber set the rest to 0 // If we need more bytes than length of BigNumber set the rest to 0
if (length > GetNumBytes()) if (length > GetNumBytes())
memset((void*)_array, 0, length); memset((void*)_array, 0, length);
BN_bn2bin(_bn, (unsigned char *)_array); BN_bn2bin(_bn, (unsigned char *)_array);
std::reverse(_array, _array + length); std::reverse(_array, _array + length);

View file

@ -1,4 +1,4 @@
/* /*
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/> * Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify

View file

@ -1,4 +1,4 @@
/* /*
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/> * Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify

View file

@ -27,13 +27,13 @@ AM_CPPFLAGS = $(MANGOS_INCLUDES) -I$(top_builddir)/src/shared -I$(srcdir) -I$(sr
noinst_LIBRARIES = libmangosauth.a noinst_LIBRARIES = libmangosauth.a
libmangosauth_a_SOURCES = \ libmangosauth_a_SOURCES = \
AuthCrypt.cpp \ AuthCrypt.cpp \
AuthCrypt.h \ AuthCrypt.h \
BigNumber.cpp \ BigNumber.cpp \
BigNumber.h \ BigNumber.h \
Hmac.cpp \ Hmac.cpp \
Hmac.h \ Hmac.h \
Sha1.cpp \ Sha1.cpp \
Sha1.h \ Sha1.h \
md5.c \ md5.c \
md5.h md5.h

View file

@ -1,4 +1,4 @@
/* /*
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/> * Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify

View file

@ -1,4 +1,4 @@
/* /*
* Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/> * Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify