summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2014-04-28 11:19:23 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2014-04-28 11:19:23 +0000
commitca03b990ebeb0fc851a534c96b36b649ecccf298 (patch)
tree7d29cb43109e5408c40d27b564d1313df1fcd338
parent14bfaf15515fadbd221a33db376dab762ce6af10 (diff)
spacing
-rw-r--r--sbin/iked/ocsp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/iked/ocsp.c b/sbin/iked/ocsp.c
index 80ce1b69230..fb60ba34d86 100644
--- a/sbin/iked/ocsp.c
+++ b/sbin/iked/ocsp.c
@@ -155,7 +155,7 @@ ocsp_connect_cb(int fd, short event, void *arg)
{
struct ocsp_connect *oc = arg;
int error, send_fd = -1;
- socklen_t len;
+ socklen_t len;
len = sizeof(error);
if (getsockopt(fd, SOL_SOCKET, SO_ERROR, &error, &len) < 0) {
@@ -207,8 +207,8 @@ int
ocsp_validate_cert(struct iked *env, struct iked_static_id *id,
void *data, size_t len, struct iked_sahdr sh, u_int8_t type)
{
- struct iked_ocsp_entry *ioe;
- struct iked_ocsp *ocsp;
+ struct iked_ocsp_entry *ioe;
+ struct iked_ocsp *ocsp;
BIO *rawcert = NULL, *bissuer = NULL;
X509 *cert = NULL, *issuer = NULL;