Displaying 9 results from an estimated 9 matches for "have_arc4random".
2000 Jul 17
0
patch for getting 2.1.1p4 to compile on SunOS 4
...o clientloop.o
--- bsd-misc.c.orig-2.1.1p4 Sat Jul 15 00:59:14 2000
+++ bsd-misc.c Mon Jul 17 02:03:59 2000
@@ -45,90 +45,9 @@
#include "xmalloc.h"
#include "ssh.h"
#include "bsd-misc.h"
-#include "entropy.h"
#include <openssl/rand.h>
-#ifndef HAVE_ARC4RANDOM
-
-typedef struct
-{
- unsigned int s[256];
- int i;
- int j;
-} rc4_t;
-
-void rc4_key(rc4_t *r, unsigned char *key, int len);
-void rc4_getbytes(rc4_t *r, unsigned char *buffer, int len);
-
-static rc4_t *rc4 = NULL;
-
-void rc4_key(rc4_t *r, unsigned char *key, int len)
-{
- int t;
-
- for(r-&g...
2014 Feb 04
3
[LLVMdev] linux build broken on Ubuntu 12.04 x86_64
First error: head file related. Strangely, this code has been there a
while, which makes me think that the HAVE_ARC4RANDOM is somehow now showing
up as set whereas perhaps it didn't used to be.
tfiala at tfiala2:~/lldb/svn/lgs/build$ make
make[1]: Entering directory `/mnt/ssd/work/svn/lgs/build/lib/Support'
llvm[1]: Compiling Process.cpp for Debug+Asserts build
In file included from
/mnt/ssd/work/svn/lgs/llvm/...
2014 Feb 03
3
[LLVMdev] linux build broken on Ubuntu 12.04 x86_64
Hey all,
FYI -
We're seeing a whole host of errors around requiring arc4random and linkage
errors building llvm/clang/lldb from top of tree. This is on lldb builds
with Ubuntu 12.04 x86_64, using gcc 4.8.2 and configure-based builds. This
appeared to crop up sometime since Friday morning. What's the right fix
for that? Looks to be a dependency on libbsd?
--
Todd Fiala | Software
1999 Dec 21
0
Problem with UTMP recording
...F_LONG_INT 4
/* The number of bytes in a long long int. */
#define SIZEOF_LONG_LONG_INT 8
/* The number of bytes in a short int. */
#define SIZEOF_SHORT_INT 2
/* Define if you have the _getpty function. */
/* #undef HAVE__GETPTY */
/* Define if you have the arc4random function. */
/* #undef HAVE_ARC4RANDOM */
/* Define if you have the mkdtemp function. */
/* #undef HAVE_MKDTEMP */
/* Define if you have the openpty function. */
/* #undef HAVE_OPENPTY */
/* Define if you have the setenv function. */
#define HAVE_SETENV 1
/* Define if you have the setlogin function. */
/* #undef HAVE_SETLOGIN */...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...NAME */
#define HAVE_HEADER_AD 1
/* #undef BIND_8_COMPAT */
#define HAVE_PROC_PID 1
/* #undef AIX_GETNAMEINFO_HACK */
/* #undef BROKEN_GETGROUPS */
/* #undef BROKEN_LIBIAF */
/* #undef BROKEN_MMAP */
/* #undef BROKEN_SETVBUF */
#define GETPGRP_VOID 1
/* #undef GETSPNAM_CONFLICTING_DEFS */
/* #undef HAVE_ARC4RANDOM */
/* #undef HAVE_ATTRIBUTE__SENTINEL__ */
/* #undef HAVE_B64_NTOP */
/* #undef HAVE_B64_PTON */
#define HAVE_BCOPY 1
/* #undef HAVE_BINDRESVPORT_SA */
/* #undef HAVE_BSM_AUDIT_H */
/* #undef HAVE_BSTRING_H */
#define HAVE_CLOCK 1
/* #undef HAVE_CLOSEFROM */
#define HAVE_CONST_GAI_STRERROR_PROTO 1...
2000 Jan 19
3
AIX openssh patches
...************
*** 52,61 ****
--- 52,67 ----
#include "ssh.h"
#include "bsd-misc.h"
+ #if 0
#ifndef offsetof
#define offsetof(type, member) ((size_t) &((type *)0)->member)
#endif
+ #endif
+ #ifdef USE_SYSRANDOM
+ #include <time.h>
+ #endif
+
#ifndef HAVE_ARC4RANDOM
typedef struct
***************
*** 135,140 ****
--- 141,156 ----
void get_random_bytes(unsigned char *buf, int len)
{
+
+ #ifdef USE_SYSRANDOM
+ int index;
+
+ srandom(time(NULL) + getpid());
+
+ for (index = 0; index < len+1; index++) {
+ buf[index] = rand()%255;...
2000 Aug 23
14
Test snapshot
I have just tarred up a snapshot and uploaded it to:
http://www.mindrot.org/misc/openssh/openssh-SNAP-20000823.tar.gz
The snapshot incorporates the last month's fixes and enhancements from
the openssh-unix-dev mailing list and from the OpenBSD developers.
In particular:
- ssh-agent and ssh-add now handle DSA keys. NB. this does not interop
with ssh.com's ssh-agent. (Markus Friedl)
2017 Feb 11
2
Asan self host problems: Failed to deallocate
Trying to run a self host "ninja check-clang" with ASan enabled I hit a
/lot/ of errors like this (strangely I hit none of these in check-llvm,
only in check-clang):
Any ideas?
==10525==ERROR: AddressSanitizer failed to deallocate 0x10800 (67584) bytes
at address 0x631000014800
==10525==AddressSanitizer CHECK failed:
2017 Feb 15
2
Asan self host problems: Failed to deallocate
....8.8()]
//Details about finding Threads
FIND_PACKAGE_MESSAGE_DETAILS_Threads:INTERNAL=[TRUE][v()]
//Test HAS_ATTRIBUTE_WARN_UNUSED_RESULT
HAS_ATTRIBUTE_WARN_UNUSED_RESULT:INTERNAL=1
//Have symbol __i386__
HAS_i386_DEF:INTERNAL=1
//Have symbol __i686__
HAS_i686_DEF:INTERNAL=
//Have symbol arc4random
HAVE_ARC4RANDOM:INTERNAL=
//Have symbol backtrace
HAVE_BACKTRACE:INTERNAL=1
//Have symbol ceilf
HAVE_CEILF:INTERNAL=1
//Is circo available ?
HAVE_CIRCO:INTERNAL=1
//Have symbol closedir
HAVE_CLOSEDIR:INTERNAL=1
//Have include CrashReporterClient.h
HAVE_CRASHREPORTERCLIENT_H:INTERNAL=
//Have include cxxabi.h
HAVE_C...