summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ssh.c b/ssh.c
index 7e8bc1f24..2227755cd 100644
--- a/ssh.c
+++ b/ssh.c
@@ -40,7 +40,7 @@
40 */ 40 */
41 41
42#include "includes.h" 42#include "includes.h"
43RCSID("$OpenBSD: ssh.c,v 1.253 2005/10/30 04:03:24 djm Exp $"); 43RCSID("$OpenBSD: ssh.c,v 1.254 2005/10/30 08:52:18 djm Exp $");
44 44
45#include <openssl/evp.h> 45#include <openssl/evp.h>
46#include <openssl/err.h> 46#include <openssl/err.h>
@@ -698,7 +698,7 @@ again:
698 698
699 /* 699 /*
700 * Now that we are back to our own permissions, create ~/.ssh 700 * Now that we are back to our own permissions, create ~/.ssh
701 * directory if it doesn\'t already exist. 701 * directory if it doesn't already exist.
702 */ 702 */
703 snprintf(buf, sizeof buf, "%.100s%s%.100s", pw->pw_dir, strcmp(pw->pw_dir, "/") ? "/" : "", _PATH_SSH_USER_DIR); 703 snprintf(buf, sizeof buf, "%.100s%s%.100s", pw->pw_dir, strcmp(pw->pw_dir, "/") ? "/" : "", _PATH_SSH_USER_DIR);
704 if (stat(buf, &st) < 0) 704 if (stat(buf, &st) < 0)
@@ -810,7 +810,7 @@ static void
810check_agent_present(void) 810check_agent_present(void)
811{ 811{
812 if (options.forward_agent) { 812 if (options.forward_agent) {
813 /* Clear agent forwarding if we don\'t have an agent. */ 813 /* Clear agent forwarding if we don't have an agent. */
814 if (!ssh_agent_present()) 814 if (!ssh_agent_present())
815 options.forward_agent = 0; 815 options.forward_agent = 0;
816 } 816 }