diff options
author | 2002-02-28 15:46:33 +0000 | |
---|---|---|
committer | 2002-02-28 15:46:33 +0000 | |
commit | 2189d7b25baf8c7c43a9ea2bf31492d5b08c69fa (patch) | |
tree | 78de06ca2b2bb94d6d1c723ffe04e30c211c8641 /usr.bin/ssh/key.c | |
parent | Fix size parameter to memmove() (off by one) introduced in last commit. (diff) | |
download | wireguard-openbsd-2189d7b25baf8c7c43a9ea2bf31492d5b08c69fa.tar.xz wireguard-openbsd-2189d7b25baf8c7c43a9ea2bf31492d5b08c69fa.zip |
add some const EVP_MD for openssl-0.9.7
Diffstat (limited to 'usr.bin/ssh/key.c')
-rw-r--r-- | usr.bin/ssh/key.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/key.c b/usr.bin/ssh/key.c index d1355e871f5..cda91571aff 100644 --- a/usr.bin/ssh/key.c +++ b/usr.bin/ssh/key.c @@ -32,7 +32,7 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ #include "includes.h" -RCSID("$OpenBSD: key.c,v 1.40 2002/02/24 19:14:59 markus Exp $"); +RCSID("$OpenBSD: key.c,v 1.41 2002/02/28 15:46:33 markus Exp $"); #include <openssl/evp.h> @@ -172,7 +172,7 @@ key_equal(Key *a, Key *b) static u_char* key_fingerprint_raw(Key *k, enum fp_type dgst_type, u_int *dgst_raw_length) { - EVP_MD *md = NULL; + const EVP_MD *md = NULL; EVP_MD_CTX ctx; u_char *blob = NULL; u_char *retval = NULL; |