diff options
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/dh/dh_lib.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dh/dh_lib.c b/src/lib/libcrypto/dh/dh_lib.c index 58f01b6e6a..d331e7cd08 100644 --- a/src/lib/libcrypto/dh/dh_lib.c +++ b/src/lib/libcrypto/dh/dh_lib.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: dh_lib.c,v 1.34 2022/01/05 20:30:16 tb Exp $ */ | 1 | /* $OpenBSD: dh_lib.c,v 1.35 2022/01/05 20:36:29 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 | * |
@@ -355,6 +355,12 @@ DH_set_flags(DH *dh, int flags) | |||
355 | dh->flags |= flags; | 355 | dh->flags |= flags; |
356 | } | 356 | } |
357 | 357 | ||
358 | long | ||
359 | DH_get_length(const DH *dh) | ||
360 | { | ||
361 | return dh->length; | ||
362 | } | ||
363 | |||
358 | int | 364 | int |
359 | DH_set_length(DH *dh, long length) | 365 | DH_set_length(DH *dh, long length) |
360 | { | 366 | { |