diff options
| author | tb <> | 2018-02-18 14:58:12 +0000 | 
|---|---|---|
| committer | tb <> | 2018-02-18 14:58:12 +0000 | 
| commit | f45fe1036a32cd14875d1619aab61bc0753012a3 (patch) | |
| tree | 2f49be312f3f68a1760dd001d14bafc0a40e6123 /src/lib/libcrypto/dh/dh.h | |
| parent | 9423d420e1df8c8d890d97c34da30188d2d378f5 (diff) | |
| download | openbsd-f45fe1036a32cd14875d1619aab61bc0753012a3.tar.gz openbsd-f45fe1036a32cd14875d1619aab61bc0753012a3.tar.bz2 openbsd-f45fe1036a32cd14875d1619aab61bc0753012a3.zip  | |
Provide {DH,DSA}_set0_key(). Requested by sthen.
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 e5daa2cbdd..f1c51850eb 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.20 2018/02/18 12:51:31 tb Exp $ */ | 1 | /* $OpenBSD: dh.h,v 1.21 2018/02/18 14:58:12 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 | * | 
| @@ -192,6 +192,7 @@ 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 | int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g); | 
| 194 | 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); | 
| 195 | int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key); | ||
| 195 | 196 | ||
| 196 | /* Deprecated version */ | 197 | /* Deprecated version */ | 
| 197 | #ifndef OPENSSL_NO_DEPRECATED | 198 | #ifndef OPENSSL_NO_DEPRECATED | 
