mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 01:37:00 +00:00
Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more.
This commit is contained in:
parent
9116f0286b
commit
dd6df37c14
8 changed files with 17 additions and 17 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue