whitespace and code verbosity

This commit is contained in:
Oswald Buddenhagen 2006-03-20 17:21:07 +00:00
parent 31fc41a32c
commit 492ca8d332

View File

@ -234,8 +234,7 @@ verify_cert( SSL *ssl )
static int static int
init_ssl_ctx( imap_store_t *ctx ) init_ssl_ctx( imap_store_t *ctx )
{ {
imap_store_conf_t *conf = (imap_store_conf_t *)ctx->gen.conf; imap_server_conf_t *srvc = ((imap_store_conf_t *)ctx->gen.conf)->server;
imap_server_conf_t *srvc = conf->server;
SSL_METHOD *method; SSL_METHOD *method;
int options = 0; int options = 0;
@ -1070,7 +1069,7 @@ start_tls( imap_store_t *ctx )
ssl_inited = 1; ssl_inited = 1;
} }
if (init_ssl_ctx( ctx )) if (init_ssl_ctx( ctx ))
return 1; return 1;
ctx->buf.sock.ssl = SSL_new( ctx->SSLContext ); ctx->buf.sock.ssl = SSL_new( ctx->SSLContext );
@ -1145,7 +1144,7 @@ cram( const char *challenge, const char *user, const char *pass )
} }
static int static int
do_cram_auth (imap_store_t *ctx, struct imap_cmd *cmdp, const char *prompt) do_cram_auth( imap_store_t *ctx, struct imap_cmd *cmdp, const char *prompt )
{ {
imap_server_conf_t *srvc = ((imap_store_conf_t *)ctx->gen.conf)->server; imap_server_conf_t *srvc = ((imap_store_conf_t *)ctx->gen.conf)->server;
char *resp; char *resp;