]> granicus.if.org Git - openssl/commit
Use enum for X509_LOOKUP_TYPE
authorRich Salz <rsalz@akamai.com>
Tue, 26 May 2015 19:42:01 +0000 (15:42 -0400)
committerRich Salz <rsalz@openssl.org>
Thu, 28 May 2015 16:54:27 +0000 (12:54 -0400)
commitbca3f06b84de3c0b428724ac535995064c54aee3
treecf52bd77074b0d4efa30e864d5dd9b2aae220040
parentd9f1c639d5162617ab0aeec23865771dc4fbcbcd
Use enum for X509_LOOKUP_TYPE

Using an enum with -Wswitch means all lookup routines handle
all cases.  Remove X509_LU_PKEY which was never used.

Reviewed-by: Richard Levitte <levitte@openssl.org>
crypto/x509/by_dir.c
crypto/x509/x509_lu.c
include/openssl/x509_vfy.h