diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-03-04 02:39:50 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-03-08 17:02:16 +0000 |
commit | 706a13f112d864b42f28a59f4a207e296fa1be08 (patch) | |
tree | 51131ceb27728af165ceaed64fd19bd726b4fc93 /crypto/dsa/dsa_locl.h | |
parent | 9cae86d56faec7bdbf97a5b241e53052adc535ce (diff) |
Make DSA_SIG opaque.
This adds a new accessor function DSA_SIG_get0.
The customisation of DSA_SIG structure initialisation has been removed this
means that the 'r' and 's' components are automatically allocated when
DSA_SIG_new() is called. Update documentation.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/dsa/dsa_locl.h')
-rw-r--r-- | crypto/dsa/dsa_locl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/dsa/dsa_locl.h b/crypto/dsa/dsa_locl.h index 6182495848..7767e74ef9 100644 --- a/crypto/dsa/dsa_locl.h +++ b/crypto/dsa/dsa_locl.h @@ -65,3 +65,8 @@ int dsa_builtin_paramgen2(DSA *ret, size_t L, size_t N, size_t seed_len, int idx, unsigned char *seed_out, int *counter_ret, unsigned long *h_ret, BN_GENCB *cb); + +struct DSA_SIG_st { + BIGNUM *r; + BIGNUM *s; +}; |