diff options
author | tb <> | 2018-02-18 12:51:31 +0000 |
---|---|---|
committer | tb <> | 2018-02-18 12:51:31 +0000 |
commit | 040132e1df7651e2b1ab7074759481599b02651a (patch) | |
tree | e704ef6b0e578fa1e030aa3ce30ac077387b15d7 /src/lib/libcrypto/dh/dh.h | |
parent | 2a27603f6a635b8a02be8bda599074b176b80ef1 (diff) | |
download | openbsd-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.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 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 | ||
191 | void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, | 191 | void DH_get0_pqg(const DH *dh, const BIGNUM **p, const BIGNUM **q, |
192 | const BIGNUM **g); | 192 | const BIGNUM **g); |
193 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | ||
193 | void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key); | 194 | void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key); |
194 | 195 | ||
195 | /* Deprecated version */ | 196 | /* Deprecated version */ |