diff options
Diffstat (limited to 'openbsd-compat/libressl-api-compat.c')
-rw-r--r-- | openbsd-compat/libressl-api-compat.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd-compat/libressl-api-compat.c b/openbsd-compat/libressl-api-compat.c index de3e64a63..ae00ff593 100644 --- a/openbsd-compat/libressl-api-compat.c +++ b/openbsd-compat/libressl-api-compat.c | |||
@@ -152,7 +152,9 @@ | |||
152 | #include <openssl/dsa.h> | 152 | #include <openssl/dsa.h> |
153 | #include <openssl/rsa.h> | 153 | #include <openssl/rsa.h> |
154 | #include <openssl/evp.h> | 154 | #include <openssl/evp.h> |
155 | #ifdef OPENSSL_HAS_ECC | ||
155 | #include <openssl/ecdsa.h> | 156 | #include <openssl/ecdsa.h> |
157 | #endif | ||
156 | #include <openssl/dh.h> | 158 | #include <openssl/dh.h> |
157 | 159 | ||
158 | #ifndef HAVE_DSA_GET0_PQG | 160 | #ifndef HAVE_DSA_GET0_PQG |
@@ -417,6 +419,7 @@ DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s) | |||
417 | } | 419 | } |
418 | #endif /* HAVE_DSA_SIG_SET0 */ | 420 | #endif /* HAVE_DSA_SIG_SET0 */ |
419 | 421 | ||
422 | #ifdef OPENSSL_HAS_ECC | ||
420 | #ifndef HAVE_ECDSA_SIG_GET0 | 423 | #ifndef HAVE_ECDSA_SIG_GET0 |
421 | void | 424 | void |
422 | ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps) | 425 | ECDSA_SIG_get0(const ECDSA_SIG *sig, const BIGNUM **pr, const BIGNUM **ps) |
@@ -442,6 +445,7 @@ ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) | |||
442 | return 1; | 445 | return 1; |
443 | } | 446 | } |
444 | #endif /* HAVE_ECDSA_SIG_SET0 */ | 447 | #endif /* HAVE_ECDSA_SIG_SET0 */ |
448 | #endif /* OPENSSL_HAS_ECC */ | ||
445 | 449 | ||
446 | #ifndef HAVE_DH_GET0_PQG | 450 | #ifndef HAVE_DH_GET0_PQG |
447 | void | 451 | void |