Request lower privilege crypt context when generating random numbers
authorChristopher Dykes <cdykes@fb.com>
Wed, 9 Nov 2016 22:31:44 +0000 (14:31 -0800)
committerFacebook Github Bot <facebook-github-bot-bot@fb.com>
Wed, 9 Nov 2016 22:38:39 +0000 (14:38 -0800)
commit2fac14da00e680f13c27262b6a623683b370f244
tree9cc3429ea5a96b8bbf87d38c46fddee540464804
parentc1c9a06b9583c57ce3d0269925238f4f6f63b3cb
Request lower privilege crypt context when generating random numbers

Summary: Without this flag, we were unintentionally requesting a context with access to private keys.

Reviewed By: yfeldblum

Differential Revision: D4155525

fbshipit-source-id: f33d18451b06e32b81d03bf6180efc1671cfa204
folly/Random.cpp