|
Lines 24-30
Link Here
|
| 24 |
#include <openssl/evp.h> |
24 |
#include <openssl/evp.h> |
| 25 |
#include <openssl/rsa.h> |
25 |
#include <openssl/rsa.h> |
| 26 |
#include <openssl/dsa.h> |
26 |
#include <openssl/dsa.h> |
|
|
27 |
#ifdef OPENSSL_HAS_ECC |
| 27 |
#include <openssl/ecdsa.h> |
28 |
#include <openssl/ecdsa.h> |
|
|
29 |
#endif |
| 28 |
#include <openssl/dh.h> |
30 |
#include <openssl/dh.h> |
| 29 |
|
31 |
|
| 30 |
int ssh_compatible_openssl(long, long); |
32 |
int ssh_compatible_openssl(long, long); |
|
Lines 161-166
void DSA_SIG_get0(const DSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
Link Here
|
| 161 |
int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s); |
163 |
int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s); |
| 162 |
#endif /* DSA_SIG_SET0 */ |
164 |
#endif /* DSA_SIG_SET0 */ |
| 163 |
|
165 |
|
|
|
166 |
#ifdef OPENSSL_HAS_ECC |
| 164 |
#ifndef HAVE_ECDSA_SIG_GET0 |
167 |
#ifndef HAVE_ECDSA_SIG_GET0 |
| 165 |
void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); |
168 |
void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps); |
| 166 |
#endif /* HAVE_ECDSA_SIG_GET0 */ |
169 |
#endif /* HAVE_ECDSA_SIG_GET0 */ |
|
Lines 168-173
void ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps);
Link Here
|
| 168 |
#ifndef HAVE_ECDSA_SIG_SET0 |
171 |
#ifndef HAVE_ECDSA_SIG_SET0 |
| 169 |
int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s); |
172 |
int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s); |
| 170 |
#endif /* HAVE_ECDSA_SIG_SET0 */ |
173 |
#endif /* HAVE_ECDSA_SIG_SET0 */ |
|
|
174 |
#endif /* OPENSSL_HAS_ECC */ |
| 171 |
|
175 |
|
| 172 |
#ifndef HAVE_DH_GET0_PQG |
176 |
#ifndef HAVE_DH_GET0_PQG |
| 173 |
void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, |
177 |
void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, |