STORE: simplify store_loader_cmp()
authorRichard Levitte <levitte@openssl.org>
Thu, 29 Jun 2017 19:46:02 +0000 (21:46 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 29 Jun 2017 19:48:12 +0000 (21:48 +0200)
commit6f9c5062682c0f30d62af54b15ad6904e4dd8cb6
treeb09168915301d2cf7d1208aaa268d2423dd0b1e2
parent0e288c2af2f24121ebd5f0c58912d9429915c02a
STORE: simplify store_loader_cmp()

We have already made sure that the loader scheme isn't NULL, so
checking if they are NULL or not when comparing registered loaders
is redundant.  We still soft assert it, just to be entirely sure.

Reviewed-by: Ben Kaduk <kaduk@mit.edu>
(Merged from https://github.com/openssl/openssl/pull/3805)
crypto/store/store_register.c