diff options
author | TJ Saunders <tj@castaglia.org> | 2016-06-09 14:53:23 -0700 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-06-13 15:44:49 -0400 |
commit | 1d454d58a80971eac941911965e894fdf1621cd8 (patch) | |
tree | 0584393424cf8a2925514013742dc56a8acc1c7a | |
parent | 7ca3ea22c1773633644b6255731bf80e76133358 (diff) |
Forgot to update the setter argument ordering in the public headers.
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)
-rw-r--r-- | include/openssl/dsa.h | 2 | ||||
-rw-r--r-- | include/openssl/ec.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/openssl/dsa.h b/include/openssl/dsa.h index d75409a02d..ce1346c2f0 100644 --- a/include/openssl/dsa.h +++ b/include/openssl/dsa.h @@ -82,7 +82,7 @@ void DSA_SIG_free(DSA_SIG *a); int i2d_DSA_SIG(const DSA_SIG *a, unsigned char **pp); DSA_SIG *d2i_DSA_SIG(DSA_SIG **v, const unsigned char **pp, long length); void DSA_SIG_get0(BIGNUM **pr, BIGNUM **ps, const DSA_SIG *sig); -int DSA_SIG_set0(BIGNUM *r, BIGNUM *s, DSA_SIG *sig); +int DSA_SIG_set0(DSA_SIG *sig, BIGNUM *r, BIGNUM *s); DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa); int DSA_do_verify(const unsigned char *dgst, int dgst_len, diff --git a/include/openssl/ec.h b/include/openssl/ec.h index bc55b53c41..db78a34b3b 100644 --- a/include/openssl/ec.h +++ b/include/openssl/ec.h @@ -1085,7 +1085,7 @@ void ECDSA_SIG_get0(BIGNUM **pr, BIGNUM **ps, const ECDSA_SIG *sig); * \param r pointer to BIGNUM for r (may be NULL) * \param s pointer to BIGNUM for s (may be NULL) */ -int ECDSA_SIG_set0(BIGNUM *r, BIGNUM *s, ECDSA_SIG *sig); +int ECDSA_SIG_set0(ECDSA_SIG *sig, BIGNUM *r, BIGNUM *s); /** Computes the ECDSA signature of the given hash value using * the supplied private key and returns the created signature. |