diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-07-30 10:08:27 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-07-30 10:08:27 +0200 |
commit | f0369223cdbc8f238b763e59b2a398608d905ada (patch) | |
tree | b249d9c5282b5db904f84f33946fd8a3ca04d744 /lib/vtls | |
parent | 16cb818a74adee718ff94d408b50b59996fe918f (diff) |
cyassl: use the default (weeker) random
I couldn't find any dedicated function in its API to get a "good" random
with.
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/cyassl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/vtls/cyassl.h b/lib/vtls/cyassl.h index 7728a0cf5..eb6145905 100644 --- a/lib/vtls/cyassl.h +++ b/lib/vtls/cyassl.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -60,5 +60,8 @@ CURLcode Curl_cyassl_connect_nonblocking(struct connectdata *conn, #define curlssl_check_cxn(x) (x=x, -1) #define curlssl_data_pending(x,y) Curl_cyassl_data_pending(x,y) +/* this might cause libcurl to use a weeker random! */ +#define curlssl_random(x,y,z) (x=x, y=y, z=z, CURLE_NOT_BUILT_IN) + #endif /* USE_CYASSL */ #endif /* HEADER_CURL_CYASSL_H */ |