Commit cbe63bba authored by Matt Johnston's avatar Matt Johnston
Browse files

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
parent de1deaf0
......@@ -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 \
......
......@@ -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"
......
......@@ -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"
......
......@@ -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;
......
......@@ -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"
......
......@@ -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"
......
......@@ -29,7 +29,7 @@
#include "dbutil.h"
#include "auth.h"
#include "algo.h"
#include "random.h"
#include "dbrandom.h"
runopts opts; /* GLOBAL */
......
......@@ -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"
......
......@@ -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 */
......
......@@ -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,
......
......@@ -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);
......
......@@ -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
......
......@@ -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"
......
......@@ -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"
......
......@@ -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
......
......@@ -13,7 +13,7 @@
*/
#include "options.h"
#include "includes.h"
#include "random.h"
#include "dbrandom.h"
#include "ltc_prng.h"
/**
......
......@@ -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"
......
......@@ -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"
......
......@@ -34,7 +34,7 @@
#include "rsa.h"
#include "buffer.h"
#include "ssh.h"
#include "random.h"
#include "dbrandom.h"
#ifdef DROPBEAR_RSA
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment