diff options
Diffstat (limited to 'openbsd-compat/openssl-compat.c')
-rw-r--r-- | openbsd-compat/openssl-compat.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/openbsd-compat/openssl-compat.c b/openbsd-compat/openssl-compat.c index 49238ba80..f5435784b 100644 --- a/openbsd-compat/openssl-compat.c +++ b/openbsd-compat/openssl-compat.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openssl-compat.c,v 1.6 2008/02/28 08:13:52 dtucker Exp $ */ | 1 | /* $Id: openssl-compat.c,v 1.7 2009/03/07 01:01:47 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2005 Darren Tucker <dtucker@zip.com.au> | 4 | * Copyright (c) 2005 Darren Tucker <dtucker@zip.com.au> |
@@ -47,6 +47,13 @@ ssh_EVP_CIPHER_CTX_cleanup(EVP_CIPHER_CTX *evp) | |||
47 | EVP_CIPHER_CTX_cleanup(evp); | 47 | EVP_CIPHER_CTX_cleanup(evp); |
48 | return 1; | 48 | return 1; |
49 | } | 49 | } |
50 | |||
51 | int | ||
52 | ssh_EVP_DigestUpdate(EVP_MD_CTX *ctx, const void *d, unsigned int cnt) | ||
53 | { | ||
54 | EVP_DigestUpdate(ctx, d, cnt); | ||
55 | return 1; | ||
56 | } | ||
50 | #endif | 57 | #endif |
51 | 58 | ||
52 | #ifdef USE_OPENSSL_ENGINE | 59 | #ifdef USE_OPENSSL_ENGINE |