View | Details | Raw Unified | Return to bug 2916
Collapse All | Expand All

(-)a/openbsd-compat/libressl-api-compat.c (+4 lines)
Lines 152-158 Link Here
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
Lines 417-422 DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s) Link Here
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)
Lines 442-447 ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) Link Here
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
(-)a/openbsd-compat/openssl-compat.h (+4 lines)
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,

Return to bug 2916