From 1bb4181ebdfdff2b1c9ecfa8711abbdf5a2dea65 Mon Sep 17 00:00:00 2001 From: jsing Date: Sun, 13 Jul 2014 23:19:02 +0000 Subject: [PATCH] Tabs, not spaces. --- lib/libressl/ressl.c | 10 +++++----- lib/libressl/ressl_config.c | 10 +++++----- lib/libressl/ressl_internal.h | 24 ++++++++++++------------ 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/lib/libressl/ressl.c b/lib/libressl/ressl.c index 08ec061bf58..bc257bd1a87 100644 --- a/lib/libressl/ressl.c +++ b/lib/libressl/ressl.c @@ -50,16 +50,16 @@ ressl_error(struct ressl *ctx) int ressl_set_error(struct ressl *ctx, char *fmt, ...) { - va_list ap; - int rv; + va_list ap; + int rv; ctx->err = errno; free(ctx->errmsg); ctx->errmsg = NULL; - va_start(ap, fmt); - rv = vasprintf(&ctx->errmsg, fmt, ap); - va_end(ap); + va_start(ap, fmt); + rv = vasprintf(&ctx->errmsg, fmt, ap); + va_end(ap); return (rv); } diff --git a/lib/libressl/ressl_config.c b/lib/libressl/ressl_config.c index ebca78e413a..6205b6c5597 100644 --- a/lib/libressl/ressl_config.c +++ b/lib/libressl/ressl_config.c @@ -24,11 +24,11 @@ * Default configuration. */ struct ressl_config ressl_config_default = { - .ca_file = _PATH_SSL_CA_FILE, - .ca_path = NULL, - .ciphers = NULL, - .verify = 1, - .verify_depth = 6, + .ca_file = _PATH_SSL_CA_FILE, + .ca_path = NULL, + .ciphers = NULL, + .verify = 1, + .verify_depth = 6, }; struct ressl_config * diff --git a/lib/libressl/ressl_internal.h b/lib/libressl/ressl_internal.h index 260ae8e1f93..c2341535877 100644 --- a/lib/libressl/ressl_internal.h +++ b/lib/libressl/ressl_internal.h @@ -25,28 +25,28 @@ #define _PATH_SSL_CA_FILE "/etc/ssl/cert.pem" struct ressl_config { - const char *ca_file; - const char *ca_path; - const char *ciphers; - const char *server_name; - int verify; - int verify_depth; + const char *ca_file; + const char *ca_path; + const char *ciphers; + const char *server_name; + int verify; + int verify_depth; }; #define RESSL_CLIENT (1 << 0) #define RESSL_SERVER (1 << 1) struct ressl { - struct ressl_config *config; + struct ressl_config *config; uint64_t flags; - int err; - char *errmsg; + int err; + char *errmsg; - int socket; + int socket; - SSL *ssl_conn; - SSL_CTX *ssl_ctx; + SSL *ssl_conn; + SSL_CTX *ssl_ctx; }; struct ressl *ressl_new(void); -- 2.20.1