diff options
author | 1999-10-27 16:37:45 +0000 | |
---|---|---|
committer | 1999-10-27 16:37:45 +0000 | |
commit | 08e7d6405bfecbdc2ecae19bee2a8419b16feb8f (patch) | |
tree | 79fdea700a3869ad0eac5ef94b6ae6c461d518f0 /usr.bin/ssh/ssh-agent.c | |
parent | move nat_ifdetach() after interface is removed from the list; avalon@coombs.anu.edu.au (diff) | |
download | wireguard-openbsd-08e7d6405bfecbdc2ecae19bee2a8419b16feb8f.tar.xz wireguard-openbsd-08e7d6405bfecbdc2ecae19bee2a8419b16feb8f.zip |
use libssl md5 routines
Diffstat (limited to 'usr.bin/ssh/ssh-agent.c')
-rw-r--r-- | usr.bin/ssh/ssh-agent.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c index 9d2ad675e53..2d33bc1c804 100644 --- a/usr.bin/ssh/ssh-agent.c +++ b/usr.bin/ssh/ssh-agent.c @@ -14,7 +14,7 @@ The authentication agent program. */ #include "includes.h" -RCSID("$Id: ssh-agent.c,v 1.12 1999/10/14 18:17:42 markus Exp $"); +RCSID("$Id: ssh-agent.c,v 1.13 1999/10/27 16:37:45 deraadt Exp $"); #include "ssh.h" #include "rsa.h" @@ -26,7 +26,7 @@ RCSID("$Id: ssh-agent.c,v 1.12 1999/10/14 18:17:42 markus Exp $"); #include "getput.h" #include "mpaux.h" -#include <md5.h> +#include <ssl/md5.h> typedef struct { @@ -132,10 +132,10 @@ process_authentication_challenge(SocketEntry *e) assert(len <= 32 && len); memset(buf, 0, 32); BN_bn2bin(challenge, buf + 32 - len); - MD5Init(&md); - MD5Update(&md, buf, 32); - MD5Update(&md, session_id, 16); - MD5Final(mdbuf, &md); + MD5_Init(&md); + MD5_Update(&md, buf, 32); + MD5_Update(&md, session_id, 16); + MD5_Final(mdbuf, &md); break; default: |