The patch also adds the name of the author of the patch to the contributor list. --- > ELinks is currently licensed under GPLv2 only. I hope we can > eventually change the licence to also allow later versions of > GPL and permit linking with OpenSSL. Do you allow such > relicensing for your patch?
I agree to this.
> Do you give permission to add your name and email address to the
> commit information, to the AUTHORS file, and similar places
> (e.g. a list of contributors in release notes)?
Yes.
AUTHORS | 3 +++
src/util/random.c | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/AUTHORS b/AUTHORS
index 0b4b5f1..866f0d7 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -456,6 +456,9 @@ Pavol Babincak <[EMAIL PROTECTED]>
Peder Stray <[EMAIL PROTECTED]>
Fix handling of key presses turning up as key prefixes
+Peter Collingbourne <[EMAIL PROTECTED]>
+ Fixed compiler errors and warnings in src/util/random.c where
CONFIG_SSL undefined
+
Peter Gervai <[EMAIL PROTECTED]>
Manpage updates
Mailcap to links.cfg convertor
diff --git a/src/util/random.c b/src/util/random.c
index 42c6611..cb4f5e8 100644
--- a/src/util/random.c
+++ b/src/util/random.c
@@ -6,6 +6,7 @@
#endif
#include <stdlib.h>
+#include <stdio.h>
#include <time.h>
#include "elinks.h"
@@ -95,7 +96,7 @@ random_nonce(unsigned char buf[], size_t size)
if (!f) f = fopen("/dev/prandom", "rb"); /* OpenBSD */
if (f) {
- i = fread(data, 1, length, f);
+ i = fread(buf, 1, size, f);
fclose(f);
}
--
1.5.6.5
--
Peter
signature.asc
Description: Digital signature
_______________________________________________ elinks-dev mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-dev
