diff options
author | kris <kris@FreeBSD.org> | 2000-05-15 04:37:24 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2000-05-15 04:37:24 +0000 |
commit | 4dc8aa85ced77e9e02dea6939edd4d3564b5086e (patch) | |
tree | 772b9de8852fb4c32957c00639a4fd5460f8a62b /crypto/openssh/mpaux.c | |
parent | b201b15ee1575ab28ed4f9b5a7d430e835a7c7ae (diff) | |
download | FreeBSD-src-4dc8aa85ced77e9e02dea6939edd4d3564b5086e.zip FreeBSD-src-4dc8aa85ced77e9e02dea6939edd4d3564b5086e.tar.gz |
Initial import of OpenSSH v2.1.
Diffstat (limited to 'crypto/openssh/mpaux.c')
-rw-r--r-- | crypto/openssh/mpaux.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/crypto/openssh/mpaux.c b/crypto/openssh/mpaux.c index 1508650..3442070 100644 --- a/crypto/openssh/mpaux.c +++ b/crypto/openssh/mpaux.c @@ -1,33 +1,33 @@ /* - * + * * mpaux.c - * + * * Author: Tatu Ylonen <ylo@cs.hut.fi> - * + * * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * All rights reserved - * + * * Created: Sun Jul 16 04:29:30 1995 ylo - * + * * This file contains various auxiliary functions related to multiple * precision integers. - * + * */ #include "includes.h" -RCSID("$Id: mpaux.c,v 1.9 1999/12/08 22:37:42 markus Exp $"); +RCSID("$Id: mpaux.c,v 1.12 2000/04/14 10:30:32 markus Exp $"); -#include <ssl/bn.h> +#include <openssl/bn.h> #include "getput.h" #include "xmalloc.h" -#include <ssl/md5.h> +#include <openssl/md5.h> void compute_session_id(unsigned char session_id[16], - unsigned char cookie[8], - BIGNUM* host_key_n, - BIGNUM* session_key_n) + unsigned char cookie[8], + BIGNUM* host_key_n, + BIGNUM* session_key_n) { unsigned int host_key_bytes = BN_num_bytes(host_key_n); unsigned int session_key_bytes = BN_num_bytes(session_key_n); |