diff options
Diffstat (limited to 'openbsd-compat/openssl-compat.h')
-rw-r--r-- | openbsd-compat/openssl-compat.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/openbsd-compat/openssl-compat.h b/openbsd-compat/openssl-compat.h index beb81f420..c0ca20aaf 100644 --- a/openbsd-compat/openssl-compat.h +++ b/openbsd-compat/openssl-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openssl-compat.h,v 1.16 2010/10/07 11:06:44 djm Exp $ */ | 1 | /* $Id: openssl-compat.h,v 1.17 2010/12/04 12:20:50 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> |
@@ -108,6 +108,19 @@ extern const EVP_CIPHER *evp_acss(void); | |||
108 | # define SSLeay_add_all_algorithms() ssh_SSLeay_add_all_algorithms() | 108 | # define SSLeay_add_all_algorithms() ssh_SSLeay_add_all_algorithms() |
109 | # endif | 109 | # endif |
110 | 110 | ||
111 | # ifndef HAVE_BN_IS_PRIME_EX | ||
112 | int BN_is_prime_ex(const BIGNUM *, int, BN_CTX *, void *); | ||
113 | # endif | ||
114 | |||
115 | # ifndef HAVE_DSA_GENERATE_PARAMETERS_EX | ||
116 | int DSA_generate_parameters_ex(DSA *, int, const unsigned char *, int, int *, | ||
117 | unsigned long *, void *); | ||
118 | # endif | ||
119 | |||
120 | # ifndef HAVE_RSA_GENERATE_KEY_EX | ||
121 | int RSA_generate_key_ex(RSA *, int, BIGNUM *, void *); | ||
122 | # endif | ||
123 | |||
111 | int ssh_EVP_CipherInit(EVP_CIPHER_CTX *, const EVP_CIPHER *, unsigned char *, | 124 | int ssh_EVP_CipherInit(EVP_CIPHER_CTX *, const EVP_CIPHER *, unsigned char *, |
112 | unsigned char *, int); | 125 | unsigned char *, int); |
113 | int ssh_EVP_Cipher(EVP_CIPHER_CTX *, char *, char *, int); | 126 | int ssh_EVP_Cipher(EVP_CIPHER_CTX *, char *, char *, int); |