No change to generated assembly.
-/* $OpenBSD: by_dir.c,v 1.33 2014/09/23 20:01:11 miod Exp $ */
+/* $OpenBSD: by_dir.c,v 1.34 2015/01/22 11:16:56 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
X509_OBJECT *ret);
X509_LOOKUP_METHOD x509_dir_lookup = {
- "Load certs from files in a directory",
- new_dir, /* new */
- free_dir, /* free */
- NULL, /* init */
- NULL, /* shutdown */
- dir_ctrl, /* ctrl */
- get_cert_by_subject, /* get_by_subject */
- NULL, /* get_by_issuer_serial */
- NULL, /* get_by_fingerprint */
- NULL, /* get_by_alias */
+ .name = "Load certs from files in a directory",
+ .new_item = new_dir,
+ .free = free_dir,
+ .init = NULL,
+ .shutdown = NULL,
+ .ctrl = dir_ctrl,
+ .get_by_subject = get_cert_by_subject,
+ .get_by_issuer_serial = NULL,
+ .get_by_fingerprint = NULL,
+ .get_by_alias = NULL,
};
X509_LOOKUP_METHOD *
-/* $OpenBSD: by_file.c,v 1.16 2014/07/25 06:05:32 doug Exp $ */
+/* $OpenBSD: by_file.c,v 1.17 2015/01/22 11:16:56 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
long argl, char **ret);
X509_LOOKUP_METHOD x509_file_lookup = {
- "Load file into cache",
- NULL, /* new */
- NULL, /* free */
- NULL, /* init */
- NULL, /* shutdown */
- by_file_ctrl, /* ctrl */
- NULL, /* get_by_subject */
- NULL, /* get_by_issuer_serial */
- NULL, /* get_by_fingerprint */
- NULL, /* get_by_alias */
+ .name = "Load file into cache",
+ .new_item = NULL,
+ .free = NULL,
+ .init = NULL,
+ .shutdown = NULL,
+ .ctrl = by_file_ctrl,
+ .get_by_subject = NULL,
+ .get_by_issuer_serial = NULL,
+ .get_by_fingerprint = NULL,
+ .get_by_alias = NULL,
};
X509_LOOKUP_METHOD *
-/* $OpenBSD: by_mem.c,v 1.1 2015/01/22 09:06:39 reyk Exp $ */
+/* $OpenBSD: by_mem.c,v 1.2 2015/01/22 11:16:56 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
static int by_mem_ctrl(X509_LOOKUP *, int, const char *, long, char **);
X509_LOOKUP_METHOD x509_mem_lookup = {
- "Load cert from memory",
- NULL, /* new */
- NULL, /* free */
- NULL, /* init */
- NULL, /* shutdown */
- by_mem_ctrl, /* ctrl */
- NULL, /* get_by_subject */
- NULL, /* get_by_issuer_serial */
- NULL, /* get_by_fingerprint */
- NULL, /* get_by_alias */
+ .name = "Load cert from memory",
+ .new_item = NULL,
+ .free = NULL,
+ .init = NULL,
+ .shutdown = NULL,
+ .ctrl = by_mem_ctrl,
+ .get_by_subject = NULL,
+ .get_by_issuer_serial = NULL,
+ .get_by_fingerprint = NULL,
+ .get_by_alias = NULL,
};
X509_LOOKUP_METHOD *
-/* $OpenBSD: by_dir.c,v 1.33 2014/09/23 20:01:11 miod Exp $ */
+/* $OpenBSD: by_dir.c,v 1.34 2015/01/22 11:16:56 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
X509_OBJECT *ret);
X509_LOOKUP_METHOD x509_dir_lookup = {
- "Load certs from files in a directory",
- new_dir, /* new */
- free_dir, /* free */
- NULL, /* init */
- NULL, /* shutdown */
- dir_ctrl, /* ctrl */
- get_cert_by_subject, /* get_by_subject */
- NULL, /* get_by_issuer_serial */
- NULL, /* get_by_fingerprint */
- NULL, /* get_by_alias */
+ .name = "Load certs from files in a directory",
+ .new_item = new_dir,
+ .free = free_dir,
+ .init = NULL,
+ .shutdown = NULL,
+ .ctrl = dir_ctrl,
+ .get_by_subject = get_cert_by_subject,
+ .get_by_issuer_serial = NULL,
+ .get_by_fingerprint = NULL,
+ .get_by_alias = NULL,
};
X509_LOOKUP_METHOD *
-/* $OpenBSD: by_file.c,v 1.16 2014/07/25 06:05:32 doug Exp $ */
+/* $OpenBSD: by_file.c,v 1.17 2015/01/22 11:16:56 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
long argl, char **ret);
X509_LOOKUP_METHOD x509_file_lookup = {
- "Load file into cache",
- NULL, /* new */
- NULL, /* free */
- NULL, /* init */
- NULL, /* shutdown */
- by_file_ctrl, /* ctrl */
- NULL, /* get_by_subject */
- NULL, /* get_by_issuer_serial */
- NULL, /* get_by_fingerprint */
- NULL, /* get_by_alias */
+ .name = "Load file into cache",
+ .new_item = NULL,
+ .free = NULL,
+ .init = NULL,
+ .shutdown = NULL,
+ .ctrl = by_file_ctrl,
+ .get_by_subject = NULL,
+ .get_by_issuer_serial = NULL,
+ .get_by_fingerprint = NULL,
+ .get_by_alias = NULL,
};
X509_LOOKUP_METHOD *
-/* $OpenBSD: by_mem.c,v 1.1 2015/01/22 09:06:39 reyk Exp $ */
+/* $OpenBSD: by_mem.c,v 1.2 2015/01/22 11:16:56 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
static int by_mem_ctrl(X509_LOOKUP *, int, const char *, long, char **);
X509_LOOKUP_METHOD x509_mem_lookup = {
- "Load cert from memory",
- NULL, /* new */
- NULL, /* free */
- NULL, /* init */
- NULL, /* shutdown */
- by_mem_ctrl, /* ctrl */
- NULL, /* get_by_subject */
- NULL, /* get_by_issuer_serial */
- NULL, /* get_by_fingerprint */
- NULL, /* get_by_alias */
+ .name = "Load cert from memory",
+ .new_item = NULL,
+ .free = NULL,
+ .init = NULL,
+ .shutdown = NULL,
+ .ctrl = by_mem_ctrl,
+ .get_by_subject = NULL,
+ .get_by_issuer_serial = NULL,
+ .get_by_fingerprint = NULL,
+ .get_by_alias = NULL,
};
X509_LOOKUP_METHOD *