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/cipher.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/cipher.c')
-rw-r--r-- | usr.bin/ssh/cipher.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ssh/cipher.c b/usr.bin/ssh/cipher.c index b9956c03807..2de0351d022 100644 --- a/usr.bin/ssh/cipher.c +++ b/usr.bin/ssh/cipher.c @@ -12,12 +12,12 @@ Created: Wed Apr 19 17:41:39 1995 ylo */ #include "includes.h" -RCSID("$Id: cipher.c,v 1.11 1999/09/30 22:12:16 provos Exp $"); +RCSID("$Id: cipher.c,v 1.12 1999/10/27 16:37:45 deraadt Exp $"); #include "ssh.h" #include "cipher.h" -#include <md5.h> +#include <ssl/md5.h> /* * What kind of tripple DES are these 2 routines? @@ -178,9 +178,9 @@ void cipher_set_key_string(CipherContext *context, int cipher, MD5_CTX md; unsigned char digest[16]; - MD5Init(&md); - MD5Update(&md, (const unsigned char *)passphrase, strlen(passphrase)); - MD5Final(digest, &md); + MD5_Init(&md); + MD5_Update(&md, (const unsigned char *)passphrase, strlen(passphrase)); + MD5_Final(digest, &md); cipher_set_key(context, cipher, digest, 16, for_encryption); |