diff options
author | Theo Buehler <tb@cvs.openbsd.org> | 2018-02-18 12:50:59 +0000 |
---|---|---|
committer | Theo Buehler <tb@cvs.openbsd.org> | 2018-02-18 12:50:59 +0000 |
commit | 6b393a4ed1a430fda3ff7f3b54a6005532878d8b (patch) | |
tree | 1d8f4f31db7d45e182a51dc8131bceeb3536d75a /lib/libcrypto/dsa/dsa.h | |
parent | a3da3261ad36fb98f48dd47768dd7dd1f1f8c121 (diff) |
Provide DSA_set0_pqg.
ok jsing
Diffstat (limited to 'lib/libcrypto/dsa/dsa.h')
-rw-r--r-- | lib/libcrypto/dsa/dsa.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/dsa/dsa.h b/lib/libcrypto/dsa/dsa.h index 608c15df6b2..21e5baa235e 100644 --- a/lib/libcrypto/dsa/dsa.h +++ b/lib/libcrypto/dsa/dsa.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dsa.h,v 1.24 2018/02/17 14:35:40 jsing Exp $ */ +/* $OpenBSD: dsa.h,v 1.25 2018/02/18 12:50:58 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -259,6 +259,7 @@ DH *DSA_dup_DH(const DSA *r); void DSA_get0_pqg(const DSA *d, const BIGNUM **p, const BIGNUM **q, const BIGNUM **g); +int DSA_set0_pqg(DSA *d, BIGNUM *p, BIGNUM *q, BIGNUM *g); void DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key); #define EVP_PKEY_CTX_set_dsa_paramgen_bits(ctx, nbits) \ |