Avoid errors when loading a cert multiple times.
authorPauli <paul.dale@oracle.com>
Sun, 5 Aug 2018 21:31:49 +0000 (07:31 +1000)
committerPauli <paul.dale@oracle.com>
Sun, 5 Aug 2018 21:36:08 +0000 (07:36 +1000)
commitf96d3c1fc65fae4193bdda464819bb1180feba5a
tree3ae3b0f6e3122fefc9d93437d59414ed378cf7f5
parente0a79ae63700051ddab9e091031dd37ae18182a5
Avoid errors when loading a cert multiple times.
Manual backport of #2830 to 1.1.0

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6861)
crypto/x509/x509_lu.c
test/build.info
test/recipes/60-test_x509_dup_cert.t [new file with mode: 0644]
test/x509_dup_cert_test.c [new file with mode: 0644]