diff options
author | tb <> | 2022-07-07 13:01:28 +0000 |
---|---|---|
committer | tb <> | 2022-07-07 13:01:28 +0000 |
commit | 144c180757b1433631a8e64a3dd86b9e3364d97c (patch) | |
tree | 539767872181d9087ed86b86848b9b25031ed468 /src/lib/libcrypto/dh/dh.h | |
parent | 42eea85c684d57fd6947ac89719d3c7cb26cd34e (diff) | |
download | openbsd-144c180757b1433631a8e64a3dd86b9e3364d97c.tar.gz openbsd-144c180757b1433631a8e64a3dd86b9e3364d97c.tar.bz2 openbsd-144c180757b1433631a8e64a3dd86b9e3364d97c.zip |
Expose new API in headers.
These are mostly security-level related, but there are also ASN1_TIME
and ASN_INTEGER functions here, as well as some missing accessors.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dh/dh.h')
-rw-r--r-- | src/lib/libcrypto/dh/dh.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/dh/dh.h b/src/lib/libcrypto/dh/dh.h index c7f4d3fdd0..4e4fdcd982 100644 --- a/src/lib/libcrypto/dh/dh.h +++ b/src/lib/libcrypto/dh/dh.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh.h,v 1.33 2022/06/27 12:31:38 tb Exp $ */ | 1 | /* $OpenBSD: dh.h,v 1.34 2022/07/07 13:01:28 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -143,9 +143,7 @@ int DH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, | |||
143 | CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); | 143 | CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); |
144 | int DH_set_ex_data(DH *d, int idx, void *arg); | 144 | int DH_set_ex_data(DH *d, int idx, void *arg); |
145 | void *DH_get_ex_data(DH *d, int idx); | 145 | void *DH_get_ex_data(DH *d, int idx); |
146 | #ifdef LIBRESSL_INTERNAL | ||
147 | int DH_security_bits(const DH *dh); | 146 | int DH_security_bits(const DH *dh); |
148 | #endif | ||
149 | 147 | ||
150 | ENGINE *DH_get0_engine(DH *d); | 148 | ENGINE *DH_get0_engine(DH *d); |
151 | void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, | 149 | void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, |