summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dh/dh.h
diff options
context:
space:
mode:
authortb <>2018-02-18 12:51:31 +0000
committertb <>2018-02-18 12:51:31 +0000
commit040132e1df7651e2b1ab7074759481599b02651a (patch)
treee704ef6b0e578fa1e030aa3ce30ac077387b15d7 /src/lib/libcrypto/dh/dh.h
parent2a27603f6a635b8a02be8bda599074b176b80ef1 (diff)
downloadopenbsd-040132e1df7651e2b1ab7074759481599b02651a.tar.gz
openbsd-040132e1df7651e2b1ab7074759481599b02651a.tar.bz2
openbsd-040132e1df7651e2b1ab7074759481599b02651a.zip
Provide DH_set0_pqg.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/dh/dh.h')
-rw-r--r--src/lib/libcrypto/dh/dh.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/dh/dh.h b/src/lib/libcrypto/dh/dh.h
index 61c7d6c873..e5daa2cbdd 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.19 2018/02/17 13:47:36 tb Exp $ */ 1/* $OpenBSD: dh.h,v 1.20 2018/02/18 12:51: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 *
@@ -190,6 +190,7 @@ void *DH_get_ex_data(DH *d, int idx);
190 190
191void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, 191void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q,
192 const BIGNUM **g); 192 const BIGNUM **g);
193int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
193void 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);
194 195
195/* Deprecated version */ 196/* Deprecated version */