SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
x11/x11vnc/patches/patch-src_enc_h
Normal file
12
x11/x11vnc/patches/patch-src_enc_h
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: src/enc.h
|
||||
--- src/enc.h.orig
|
||||
+++ src/enc.h
|
||||
@@ -1449,7 +1449,7 @@ static void securevnc_setup(int conn1, int conn2) {
|
||||
fprintf(stderr, "securevnc_setup: RAND_pseudo_bytes() rc=%d\n", rc);
|
||||
if (getenv("RANDSTR")) {
|
||||
char *s = getenv("RANDSTR");
|
||||
- fprintf(stderr, "securevnc_setup: seeding with RANDSTR len=%d\n", strlen(s));
|
||||
+ fprintf(stderr, "securevnc_setup: seeding with RANDSTR len=%zd\n", strlen(s));
|
||||
RAND_add(s, strlen(s), strlen(s));
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue