Make DSA_SIG opaque.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 4 Mar 2016 02:39:50 +0000 (02:39 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 8 Mar 2016 17:02:16 +0000 (17:02 +0000)
commit706a13f112d864b42f28a59f4a207e296fa1be08
tree51131ceb27728af165ceaed64fd19bd726b4fc93
parent9cae86d56faec7bdbf97a5b241e53052adc535ce
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>
crypto/dsa/dsa_ameth.c
crypto/dsa/dsa_asn1.c
crypto/dsa/dsa_locl.h
crypto/dsa/dsa_ossl.c
doc/crypto/DSA_SIG_new.pod
include/openssl/dsa.h