summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dh/dh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/dh/dh.h')
-rw-r--r--src/lib/libcrypto/dh/dh.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dh/dh.h b/src/lib/libcrypto/dh/dh.h
index f1c51850eb..39e8d093e5 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.21 2018/02/18 14:58:12 tb Exp $ */ 1/* $OpenBSD: dh.h,v 1.22 2018/02/20 17:38:15 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 *
@@ -193,6 +193,9 @@ void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q,
193int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); 193int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
194void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key); 194void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key);
195int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); 195int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
196void DH_clear_flags(DH *dh, int flags);
197int DH_test_flags(const DH *dh, int flags);
198void DH_set_flags(DH *dh, int flags);
196 199
197/* Deprecated version */ 200/* Deprecated version */
198#ifndef OPENSSL_NO_DEPRECATED 201#ifndef OPENSSL_NO_DEPRECATED