Changeset: 4147da9de3e9 for MonetDB URL: https://dev.monetdb.org/hg/MonetDB/rev/4147da9de3e9 Modified Files: clients/mapilib/connect_openssl.c Branch: monetdburl Log Message:
Keep forgetting you cannot have a declaration after a switch case label diffs (20 lines): diff --git a/clients/mapilib/connect_openssl.c b/clients/mapilib/connect_openssl.c --- a/clients/mapilib/connect_openssl.c +++ b/clients/mapilib/connect_openssl.c @@ -77,6 +77,7 @@ make_ssl_context(Mapi mid, SSL_CTX **ctx // (What's a reasonable amount of time for a process to pick up changes to // the system trust store?) + MapiMsg msg; *ctx_out = NULL; const SSL_METHOD *method = TLS_method(); @@ -107,7 +108,7 @@ make_ssl_context(Mapi mid, SSL_CTX **ctx } break; case verify_system: - MapiMsg msg = add_system_certificates(mid, ctx); + msg = add_system_certificates(mid, ctx); if (msg != MOK) { SSL_CTX_free(ctx); return msg; _______________________________________________ checkin-list mailing list -- checkin-list@monetdb.org To unsubscribe send an email to checkin-list-le...@monetdb.org