Module Name: src
Committed By: christos
Date: Sun May 15 23:43:56 UTC 2011
Modified Files:
src/crypto/external/bsd/openssl/dist/crypto/bn: divtest.c
Log Message:
no more implicit types in c99
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c
diff -u src/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c:1.2 src/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c:1.3
--- src/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c:1.2 Sun Jul 19 19:30:38 2009
+++ src/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c Sun May 15 19:43:56 2011
@@ -1,7 +1,7 @@
#include <openssl/bn.h>
#include <openssl/rand.h>
-static int Rand(n)
+static int Rand(void)
{
unsigned char x[2];
RAND_pseudo_bytes(x,2);
@@ -19,6 +19,7 @@
exit(1);
}
+int
main(int argc, char *argv[])
{
BIGNUM *a=BN_new(), *b=BN_new(), *c=BN_new(), *d=BN_new(),