diff options
author | Damien Miller <djm@mindrot.org> | 2005-11-05 15:14:59 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2005-11-05 15:14:59 +1100 |
commit | 788f212aed68781efe7aa80e625c5f8cd4d98100 (patch) | |
tree | 2325dfd810906d1b4eb02bda7a8ead19b4e9186e /ssh.c | |
parent | 713de76f66d4a27134938ebf6836ef97471c128a (diff) |
- djm@cvs.openbsd.org 2005/10/30 08:52:18
[clientloop.c packet.c serverloop.c session.c ssh-agent.c ssh-keygen.c]
[ssh.c sshconnect.c sshconnect1.c sshd.c]
no need to escape single quotes in comments, no binary change
Diffstat (limited to 'ssh.c')
-rw-r--r-- | ssh.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -40,7 +40,7 @@ | |||
40 | */ | 40 | */ |
41 | 41 | ||
42 | #include "includes.h" | 42 | #include "includes.h" |
43 | RCSID("$OpenBSD: ssh.c,v 1.253 2005/10/30 04:03:24 djm Exp $"); | 43 | RCSID("$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 | |||
810 | check_agent_present(void) | 810 | check_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 | } |