diff options
| author | tb <> | 2018-02-20 18:01:42 +0000 |
|---|---|---|
| committer | tb <> | 2018-02-20 18:01:42 +0000 |
| commit | d6f857847da13bf66a33e009fdcf59034786be48 (patch) | |
| tree | bdef8812546fe7d01dbcaa4d1153354a8c8e45ec /src/lib/libcrypto/dh/dh.h | |
| parent | 3008e5796a289ec1f7ab89d4e388f70529e951c2 (diff) | |
| download | openbsd-d6f857847da13bf66a33e009fdcf59034786be48.tar.gz openbsd-d6f857847da13bf66a33e009fdcf59034786be48.tar.bz2 openbsd-d6f857847da13bf66a33e009fdcf59034786be48.zip | |
Provide DH_set_length()
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 8e31d7542e..a5e686b21a 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.23 2018/02/20 17:59:31 tb Exp $ */ | 1 | /* $OpenBSD: dh.h,v 1.24 2018/02/20 18:01:42 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 | * |
| @@ -197,6 +197,7 @@ int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | |||
| 197 | void DH_clear_flags(DH *dh, int flags); | 197 | void DH_clear_flags(DH *dh, int flags); |
| 198 | int DH_test_flags(const DH *dh, int flags); | 198 | int DH_test_flags(const DH *dh, int flags); |
| 199 | void DH_set_flags(DH *dh, int flags); | 199 | void DH_set_flags(DH *dh, int flags); |
| 200 | int DH_set_length(DH *dh, long length); | ||
| 200 | 201 | ||
| 201 | /* Deprecated version */ | 202 | /* Deprecated version */ |
| 202 | #ifndef OPENSSL_NO_DEPRECATED | 203 | #ifndef OPENSSL_NO_DEPRECATED |
