]> granicus.if.org Git - curl/commit
Curl_rand: fixed and moved to rand.c
authorDaniel Stenberg <daniel@haxx.se>
Fri, 11 Nov 2016 13:53:36 +0000 (14:53 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 14 Nov 2016 07:23:52 +0000 (08:23 +0100)
commitf682156a4fc6c43fb38db4abda49b9a1bc1ed368
tree32b49aeaefc66c54426f8e7e5e9c2d9aced6147d
parent050aa803096f6d745a173d5810c65dd829f2f8b2
Curl_rand: fixed and moved to rand.c

Now Curl_rand() is made to fail if it cannot get the necessary random
level.

Changed the proto of Curl_rand() slightly to provide a number of ints at
once.

Moved out from vtls, since it isn't a TLS function and vtls provides
Curl_ssl_random() for this to use.

Discussion: https://curl.haxx.se/mail/lib-2016-11/0119.html
lib/Makefile.inc
lib/Makefile.vc6
lib/formdata.c
lib/rand.c [new file with mode: 0644]
lib/rand.h [new file with mode: 0644]
lib/vauth/digest.c
lib/vauth/ntlm.c
lib/vtls/gskit.h
lib/vtls/vtls.c
lib/vtls/vtls.h