We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a01b33 commit f81b227Copy full SHA for f81b227
lib/rand.c
@@ -59,7 +59,7 @@ static CURLcode randit(struct Curl_easy *data, unsigned int *rnd)
59
#endif
60
61
/* data may be NULL! */
62
- result = Curl_ssl_random(data, (unsigned char *)&rnd, sizeof(rnd));
+ result = Curl_ssl_random(data, (unsigned char *)rnd, sizeof(*rnd));
63
if(result != CURLE_NOT_BUILT_IN)
64
/* only if there is no random funtion in the TLS backend do the non crypto
65
version, otherwise return result */
0 commit comments