Flawfinder version 2.0.10, (C) 2001-2019 David A. Wheeler.
Number of rules (primarily dangerous function names) in C/C++ ruleset: 223
Examining data/pg-snakeoil-1.3/pg_snakeoil.c

FINAL RESULTS:

data/pg-snakeoil-1.3/pg_snakeoil.c:76:2:  [3] (random) srand:
  This function is not sufficiently random for security-related functions
  such as key and nonce creation (CWE-327). Use a more secure technique for
  acquiring random values.
	srand(getpid());

ANALYSIS SUMMARY:

Hits = 1
Lines analyzed = 302 in approximately 0.03 seconds (9344 lines/second)
Physical Source Lines of Code (SLOC) = 193
Hits@level = [0]   0 [1]   0 [2]   0 [3]   1 [4]   0 [5]   0
Hits@level+ = [0+]   1 [1+]   1 [2+]   1 [3+]   1 [4+]   0 [5+]   0
Hits/KSLOC@level+ = [0+] 5.18135 [1+] 5.18135 [2+] 5.18135 [3+] 5.18135 [4+]   0 [5+]   0
Dot directories skipped = 1 (--followdotdir overrides)
Minimum risk level = 1
Not every hit is necessarily a security vulnerability.
There may be other security vulnerabilities; review your code!
See 'Secure Programming HOWTO'
(https://dwheeler.com/secure-programs) for more information.