rename random.h to dbrandom.h since some OSes have a system random.h

--HG--
rename : random.c => dbrandom.c
rename : random.h => dbrandom.h
This commit is contained in:
Matt Johnston 2013-11-14 22:05:47 +08:00
parent de1deaf0bd
commit cbe63bbabe
26 changed files with 26 additions and 26 deletions

View File

@ -24,7 +24,7 @@ endif
COMMONOBJS=dbutil.o buffer.o \
dss.o bignum.o \
signkey.o rsa.o random.o \
signkey.o rsa.o dbrandom.o \
queue.o \
atomicio.o compat.o fake-rfc2553.o \
ltc_prng.o ecc.o ecdsa.o crypto_desc.o \
@ -52,7 +52,7 @@ CONVERTOBJS=dropbearconvert.o keyimport.o
SCPOBJS=scp.o progressmeter.o atomicio.o scpmisc.o compat.o
HEADERS=options.h dbutil.h session.h packet.h algo.h ssh.h buffer.h kex.h \
dss.h bignum.h signkey.h rsa.h random.h service.h auth.h \
dss.h bignum.h signkey.h rsa.h dbrandom.h service.h auth.h \
debug.h channel.h chansession.h config.h queue.h sshpty.h \
termcodes.h gendss.h genrsa.h runopts.h includes.h \
loginrec.h atomicio.h x11fwd.h agentfwd.h tcpfwd.h compat.h \

View File

@ -34,7 +34,7 @@
#include "channel.h"
#include "packet.h"
#include "buffer.h"
#include "random.h"
#include "dbrandom.h"
#include "listener.h"
#include "runopts.h"
#include "atomicio.h"

View File

@ -33,7 +33,7 @@
#include "ssh.h"
#include "packet.h"
#include "bignum.h"
#include "random.h"
#include "dbrandom.h"
#include "runopts.h"
#include "signkey.h"
#include "ecc.h"

View File

@ -28,7 +28,7 @@
#include "dbutil.h"
#include "runopts.h"
#include "session.h"
#include "random.h"
#include "dbrandom.h"
#include "crypto_desc.h"
static void cli_dropbear_exit(int exitcode, const char* format, va_list param) ATTRIB_NORETURN;

View File

@ -31,7 +31,7 @@
#include "packet.h"
#include "tcpfwd.h"
#include "channel.h"
#include "random.h"
#include "dbrandom.h"
#include "service.h"
#include "runopts.h"
#include "chansession.h"

View File

@ -32,7 +32,7 @@
#include "ssh.h"
#include "packet.h"
#include "bignum.h"
#include "random.h"
#include "dbrandom.h"
#include "runopts.h"
#include "ecc.h"
#include "crypto_desc.h"

View File

@ -29,7 +29,7 @@
#include "dbutil.h"
#include "auth.h"
#include "algo.h"
#include "random.h"
#include "dbrandom.h"
runopts opts; /* GLOBAL */

View File

@ -30,7 +30,7 @@
#include "buffer.h"
#include "dss.h"
#include "ssh.h"
#include "random.h"
#include "dbrandom.h"
#include "kex.h"
#include "channel.h"
#include "runopts.h"

View File

@ -26,7 +26,7 @@
#include "buffer.h"
#include "dbutil.h"
#include "bignum.h"
#include "random.h"
#include "dbrandom.h"
/* this is used to generate unique output from the same hashpool */

View File

@ -29,7 +29,7 @@
#include "dbutil.h"
#include "keyimport.h"
#include "crypto_desc.h"
#include "random.h"
#include "dbrandom.h"
static int do_convert(int intype, const char* infile, int outtype,

View File

@ -53,7 +53,7 @@
#include "gendss.h"
#include "ecdsa.h"
#include "crypto_desc.h"
#include "random.h"
#include "dbrandom.h"
#include "gensignkey.h"
static void printhelp(char * progname);

2
dss.c
View File

@ -28,7 +28,7 @@
#include "dss.h"
#include "buffer.h"
#include "ssh.h"
#include "random.h"
#include "dbrandom.h"
/* Handle DSS (Digital Signature Standard), aka DSA (D.S. Algorithm),
* operations, such as key reading, signing, verification. Key generation

View File

@ -26,7 +26,7 @@
#include "dbutil.h"
#include "signkey.h"
#include "bignum.h"
#include "random.h"
#include "dbrandom.h"
#include "buffer.h"
#include "gendss.h"
#include "dss.h"

View File

@ -25,7 +25,7 @@
#include "includes.h"
#include "dbutil.h"
#include "bignum.h"
#include "random.h"
#include "dbrandom.h"
#include "rsa.h"
#include "genrsa.h"

View File

@ -5,7 +5,7 @@
#include "genrsa.h"
#include "gendss.h"
#include "signkey.h"
#include "random.h"
#include "dbrandom.h"
#define RSA_DEFAULT_SIZE 2048
#define DSS_DEFAULT_SIZE 1024

View File

@ -13,7 +13,7 @@
*/
#include "options.h"
#include "includes.h"
#include "random.h"
#include "dbrandom.h"
#include "ltc_prng.h"
/**

View File

@ -30,7 +30,7 @@
#include "algo.h"
#include "buffer.h"
#include "kex.h"
#include "random.h"
#include "dbrandom.h"
#include "service.h"
#include "auth.h"
#include "channel.h"

View File

@ -30,7 +30,7 @@
#include "algo.h"
#include "buffer.h"
#include "kex.h"
#include "random.h"
#include "dbrandom.h"
#include "service.h"
#include "auth.h"
#include "channel.h"

2
rsa.c
View File

@ -34,7 +34,7 @@
#include "rsa.h"
#include "buffer.h"
#include "ssh.h"
#include "random.h"
#include "dbrandom.h"
#ifdef DROPBEAR_RSA

View File

@ -37,7 +37,7 @@
#include "channel.h"
#include "packet.h"
#include "buffer.h"
#include "random.h"
#include "dbrandom.h"
#include "listener.h"
#include "auth.h"

View File

@ -33,7 +33,7 @@
#include "packet.h"
#include "auth.h"
#include "runopts.h"
#include "random.h"
#include "dbrandom.h"
static void authclear();
static int checkusername(unsigned char *username, unsigned int userlen);

View File

@ -32,7 +32,7 @@
#include "sshpty.h"
#include "termcodes.h"
#include "ssh.h"
#include "random.h"
#include "dbrandom.h"
#include "x11fwd.h"
#include "agentfwd.h"
#include "runopts.h"

View File

@ -32,7 +32,7 @@
#include "ssh.h"
#include "packet.h"
#include "bignum.h"
#include "random.h"
#include "dbrandom.h"
#include "runopts.h"
#include "ecc.h"
#include "gensignkey.h"

View File

@ -28,7 +28,7 @@
#include "buffer.h"
#include "signkey.h"
#include "runopts.h"
#include "random.h"
#include "dbrandom.h"
#include "crypto_desc.h"
static size_t listensockets(int *sock, size_t sockcount, int *maxfd);

View File

@ -30,7 +30,7 @@
#include "buffer.h"
#include "dss.h"
#include "ssh.h"
#include "random.h"
#include "dbrandom.h"
#include "kex.h"
#include "channel.h"
#include "chansession.h"