projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use enum for X509_LOOKUP_TYPE
[openssl.git]
/
crypto
/
x509
/
by_dir.c
diff --git
a/crypto/x509/by_dir.c
b/crypto/x509/by_dir.c
index
ffd101c
..
cc91db8
100644
(file)
--- a/
crypto/x509/by_dir.c
+++ b/
crypto/x509/by_dir.c
@@
-247,8
+247,8
@@
static int add_cert_dir(BY_DIR *ctx, const char *dir, int type)
return 1;
}
-static int get_cert_by_subject(X509_LOOKUP *xl,
int type, X509_NAME *nam
e,
- X509_OBJECT *ret)
+static int get_cert_by_subject(X509_LOOKUP *xl,
X509_LOOKUP_TYPE typ
e,
+ X509_
NAME *name, X509_
OBJECT *ret)
{
BY_DIR *ctx;
union {