summaryrefslogtreecommitdiff
path: root/ssh-agent.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-agent.c')
-rw-r--r--ssh-agent.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ssh-agent.c b/ssh-agent.c
index 1f21cbc9b..0615889be 100644
--- a/ssh-agent.c
+++ b/ssh-agent.c
@@ -35,7 +35,7 @@
35 35
36#include "includes.h" 36#include "includes.h"
37#include "openbsd-compat/fake-queue.h" 37#include "openbsd-compat/fake-queue.h"
38RCSID("$OpenBSD: ssh-agent.c,v 1.98 2002/07/21 18:07:45 stevesk Exp $"); 38RCSID("$OpenBSD: ssh-agent.c,v 1.99 2002/08/12 10:46:35 markus Exp $");
39 39
40#include <openssl/evp.h> 40#include <openssl/evp.h>
41#include <openssl/md5.h> 41#include <openssl/md5.h>
@@ -943,6 +943,10 @@ main(int ac, char **av)
943 pid_t pid; 943 pid_t pid;
944 char pidstrbuf[1 + 3 * sizeof pid]; 944 char pidstrbuf[1 + 3 * sizeof pid];
945 945
946 /* drop */
947 setegid(getgid());
948 setgid(getgid());
949
946 SSLeay_add_all_algorithms(); 950 SSLeay_add_all_algorithms();
947 951
948 __progname = get_progname(av[0]); 952 __progname = get_progname(av[0]);