Make DSA_SIG and ECDSA_SIG getters const.
authorEmilia Kasper <emilia@openssl.org>
Thu, 9 Jun 2016 21:09:48 +0000 (23:09 +0200)
committerEmilia Kasper <emilia@openssl.org>
Mon, 20 Jun 2016 12:58:36 +0000 (14:58 +0200)
commit9267c11bb5d408e43482173794f08a3c8472afba
tree172336307a646ab33854a51627192f3307eb6545
parentb73cfb137e596f3e4396fbc5502ace3ff17cbaed
Make DSA_SIG and ECDSA_SIG getters const.

Reorder arguments to follow convention.

Also allow r/s to be NULL in DSA_SIG_get0, similarly to ECDSA_SIG_get0.

This complements GH1193 which adds non-const setters.

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
crypto/ec/ec_asn1.c
doc/crypto/DSA_SIG_new.pod
doc/crypto/ECDSA_SIG_new.pod
include/openssl/dsa.h
include/openssl/ec.h
test/ecdsatest.c