Commit 70a5f5f9 authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

PR: 2372

Submitted by: "W.C.A. Wijngaards" <wouter@nlnetlabs.nl>
Reviewed by: steve

Fix OpenBSD compilation failure.
parent ac7797a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -310,7 +310,7 @@ const char *RAND_file_name(char *buf, size_t size)
	 * to something hopefully decent if that isn't available. 
	 */

	if (!ok)
	if (!buf[0])
		if (BUF_strlcpy(buf,"/dev/arandom",size) >= size) {
			return(NULL);
		}