diff options
author | djm@openbsd.org <djm@openbsd.org> | 2021-04-03 08:18:40 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2021-04-03 08:23:02 +0200 |
commit | 31d8d231eb9377df474746a822d380c5d68d7ad6 (patch) | |
tree | ab5619a06e3944f016d7779b8313acb8bbf1c06a /ssh_api.c | |
parent | upstream: whitespace (tab after space) (diff) | |
download | openssh-31d8d231eb9377df474746a822d380c5d68d7ad6.tar.xz openssh-31d8d231eb9377df474746a822d380c5d68d7ad6.zip |
upstream: highly polished whitespace, mostly fixing spaces-for-tab
and bad indentation on continuation lines. Prompted by GHPR#185
OpenBSD-Commit-ID: e5c81f0cbdcc6144df1ce468ec1bac366d8ad6e9
Diffstat (limited to 'ssh_api.c')
-rw-r--r-- | ssh_api.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: ssh_api.c,v 1.26 2021/01/27 10:05:28 djm Exp $ */ +/* $OpenBSD: ssh_api.c,v 1.27 2021/04/03 06:18:41 djm Exp $ */ /* * Copyright (c) 2012 Markus Friedl. All rights reserved. * @@ -81,7 +81,7 @@ mm_choose_dh(int min, int nbits, int max) int ssh_init(struct ssh **sshp, int is_server, struct kex_params *kex_params) { - char *myproposal[PROPOSAL_MAX] = { KEX_CLIENT }; + char *myproposal[PROPOSAL_MAX] = { KEX_CLIENT }; struct ssh *ssh; char **proposal; static int called; @@ -361,7 +361,7 @@ _ssh_read_banner(struct ssh *ssh, struct sshbuf *banner) if (ssh->kex->server || ++n > SSH_MAX_PRE_BANNER_LINES) { bad: if ((r = sshbuf_put(ssh_packet_get_output(ssh), - mismatch, strlen(mismatch))) != 0) + mismatch, strlen(mismatch))) != 0) return r; return SSH_ERR_NO_PROTOCOL_VERSION; } |