diff options
author | des <des@FreeBSD.org> | 2014-03-22 15:23:38 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2014-03-22 15:23:38 +0000 |
commit | ab9e0bc08282397f61df5d0ea89a81a2322ec040 (patch) | |
tree | 5186034782b608fd13a7408b5852ad248f6bdc35 /openbsd-compat/openssl-compat.c | |
parent | 45d0197dd79eceffb5bbc29f75199eb09af5a5f9 (diff) | |
download | FreeBSD-src-ab9e0bc08282397f61df5d0ea89a81a2322ec040.zip FreeBSD-src-ab9e0bc08282397f61df5d0ea89a81a2322ec040.tar.gz |
Vendor import of OpenSSH 6.6p1.
Diffstat (limited to 'openbsd-compat/openssl-compat.c')
-rw-r--r-- | openbsd-compat/openssl-compat.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/openbsd-compat/openssl-compat.c b/openbsd-compat/openssl-compat.c index 60eac4b..885c121 100644 --- a/openbsd-compat/openssl-compat.c +++ b/openbsd-compat/openssl-compat.c @@ -1,4 +1,4 @@ -/* $Id: openssl-compat.c,v 1.16 2014/01/17 07:00:41 dtucker Exp $ */ +/* $Id: openssl-compat.c,v 1.17 2014/02/13 05:38:33 dtucker Exp $ */ /* * Copyright (c) 2005 Darren Tucker <dtucker@zip.com.au> @@ -96,6 +96,14 @@ ssh_EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, unsigned int cnt) } #endif +#ifndef HAVE_EVP_MD_CTX_COPY_EX +int +EVP_MD_CTX_copy_ex(EVP_MD_CTX *out, const EVP_MD_CTX *in) +{ + return EVP_MD_CTX_copy(out, in); +} +#endif + #ifndef HAVE_BN_IS_PRIME_EX int BN_is_prime_ex(const BIGNUM *p, int nchecks, BN_CTX *ctx, void *cb) |