v3_purp.c: add locking to x509v3_cache_extensions()
authorDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Wed, 2 May 2018 21:06:15 +0000 (23:06 +0200)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Thu, 3 May 2018 20:25:59 +0000 (22:25 +0200)
commit2c2d9dcd25b6a9e9c6522bfd030d6be5d8e1c92a
tree63a06b6891c32d8fc81d5a5bf9282a2cc8267148
parentf4be878edae21755fe83ef26f3f3821a2fe58a97
v3_purp.c: add locking to x509v3_cache_extensions()

Fixes #6121

Thanks to Mingtao Yang for reporting this bug.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6162)
crypto/x509v3/v3_purp.c