Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/openssl/dist/crypto/bn no more implicit ...
details: https://anonhg.NetBSD.org/src/rev/fba8e75009f1
branches: trunk
changeset: 765014:fba8e75009f1
user: christos <christos%NetBSD.org@localhost>
date: Sun May 15 23:43:56 2011 +0000
description:
no more implicit types in c99
diffstat:
crypto/external/bsd/openssl/dist/crypto/bn/divtest.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 83dccbe4e756 -r fba8e75009f1 crypto/external/bsd/openssl/dist/crypto/bn/divtest.c
--- a/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c Sun May 15 23:42:01 2011 +0000
+++ b/crypto/external/bsd/openssl/dist/crypto/bn/divtest.c Sun May 15 23:43:56 2011 +0000
@@ -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(),
Home |
Main Index |
Thread Index |
Old Index