diff options
author | TJ Saunders <tj@castaglia.org> | 2016-06-09 14:52:04 -0700 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-06-13 15:44:49 -0400 |
commit | 7ca3ea22c1773633644b6255731bf80e76133358 (patch) | |
tree | 42f8952e870312cc4fec5622fdf2efc65292d526 /crypto/ec/ec_asn1.c | |
parent | 6a571a18dd4381940d61a3c2f0d65d2b6515c693 (diff) |
Reorder the setter arguments to more consistently match that of other APIs,
per review comments.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Emilia Käsper <emilia@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1193)
Diffstat (limited to 'crypto/ec/ec_asn1.c')
-rw-r--r-- | crypto/ec/ec_asn1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/ec/ec_asn1.c b/crypto/ec/ec_asn1.c index 89cc67d8aa..9bc4ca7b27 100644 --- a/crypto/ec/ec_asn1.c +++ b/crypto/ec/ec_asn1.c @@ -1180,7 +1180,7 @@ void ECDSA_SIG_get0(BIGNUM **pr, BIGNUM **ps, const ECDSA_SIG *sig) *ps = sig->s; } -int ECDSA_SIG_set0(BIGNUM *r, BIGNUM *s, ECDSA_SIG *sig) +int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s) { BN_clear_free(sig->r); BN_clear_free(sig->s); |