diff options
Diffstat (limited to 'sshconnect.c')
| -rw-r--r-- | sshconnect.c | 5 | 
1 files changed, 2 insertions, 3 deletions
| diff --git a/sshconnect.c b/sshconnect.c index 356ec79f0a0e8..96b91ce1ab4b8 100644 --- a/sshconnect.c +++ b/sshconnect.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshconnect.c,v 1.271 2016/01/14 22:56:56 markus Exp $ */ +/* $OpenBSD: sshconnect.c,v 1.272 2016/09/12 01:22:38 deraadt Exp $ */  /*   * Author: Tatu Ylonen <ylo@cs.hut.fi>   * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -15,7 +15,6 @@  #include "includes.h" -#include <sys/param.h>	/* roundup */  #include <sys/types.h>  #include <sys/wait.h>  #include <sys/stat.h> @@ -1403,7 +1402,7 @@ ssh_put_password(char *password)  		packet_put_cstring(password);  		return;  	} -	size = roundup(strlen(password) + 1, 32); +	size = ROUNDUP(strlen(password) + 1, 32);  	padded = xcalloc(1, size);  	strlcpy(padded, password, size);  	packet_put_string(padded, size); | 
