Skip to content

Commit

Permalink
cyassl: use the default (weeker) random
Browse files Browse the repository at this point in the history
I couldn't find any dedicated function in its API to get a "good" random
with.
  • Loading branch information
bagder committed Jul 30, 2014
1 parent 16cb818 commit f036922
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/vtls/cyassl.h
Expand Up @@ -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
Expand Down Expand Up @@ -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 */

0 comments on commit f036922

Please sign in to comment.