diff options
| author | tb <> | 2018-02-20 17:59:31 +0000 |
|---|---|---|
| committer | tb <> | 2018-02-20 17:59:31 +0000 |
| commit | 3008e5796a289ec1f7ab89d4e388f70529e951c2 (patch) | |
| tree | a5c11f63c8d4a75df6399e07bcf260c097db4998 /src/lib/libcrypto/dh/dh.h | |
| parent | de9d55808baa8b308c66e7b27d16ab42e9d5f89c (diff) | |
| download | openbsd-3008e5796a289ec1f7ab89d4e388f70529e951c2.tar.gz openbsd-3008e5796a289ec1f7ab89d4e388f70529e951c2.tar.bz2 openbsd-3008e5796a289ec1f7ab89d4e388f70529e951c2.zip | |
Provide DH_bits()
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dh/dh.h')
| -rw-r--r-- | src/lib/libcrypto/dh/dh.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dh/dh.h b/src/lib/libcrypto/dh/dh.h index 39e8d093e5..8e31d7542e 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.22 2018/02/20 17:38:15 tb Exp $ */ | 1 | /* $OpenBSD: dh.h,v 1.23 2018/02/20 17:59:31 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 | * |
| @@ -183,6 +183,7 @@ DH * DH_new(void); | |||
| 183 | void DH_free(DH *dh); | 183 | void DH_free(DH *dh); |
| 184 | int DH_up_ref(DH *dh); | 184 | int DH_up_ref(DH *dh); |
| 185 | int DH_size(const DH *dh); | 185 | int DH_size(const DH *dh); |
| 186 | int DH_bits(const DH *dh); | ||
| 186 | int DH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, | 187 | int DH_get_ex_new_index(long argl, void *argp, CRYPTO_EX_new *new_func, |
| 187 | CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); | 188 | CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func); |
| 188 | int DH_set_ex_data(DH *d, int idx, void *arg); | 189 | int DH_set_ex_data(DH *d, int idx, void *arg); |
