[openssl-commits] [openssl] master update
Dr. Stephen Henson
steve at openssl.org
Sun Mar 20 19:58:32 UTC 2016
The branch master has been updated
via 99cccf3643f96892196578cb599ca91661a7128c (commit)
from 01ce6f746d5daaec6210bc13851f81f7d4ef38ec (commit)
- Log -----------------------------------------------------------------
commit 99cccf3643f96892196578cb599ca91661a7128c
Author: Dr. Stephen Henson <steve at openssl.org>
Date: Sun Mar 20 18:58:19 2016 +0000
constify DSA_SIG_get0()
Reviewed-by: Rich Salz <rsalz at openssl.org>
-----------------------------------------------------------------------
Summary of changes:
crypto/dsa/dsa_asn1.c | 2 +-
doc/crypto/DSA_SIG_new.pod | 2 +-
include/openssl/dsa.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/crypto/dsa/dsa_asn1.c b/crypto/dsa/dsa_asn1.c
index b2ac1e6..c338b5f 100644
--- a/crypto/dsa/dsa_asn1.c
+++ b/crypto/dsa/dsa_asn1.c
@@ -75,7 +75,7 @@ ASN1_SEQUENCE(DSA_SIG) = {
IMPLEMENT_ASN1_FUNCTIONS_const(DSA_SIG)
-void DSA_SIG_get0(BIGNUM **pr, BIGNUM **ps, DSA_SIG *sig)
+void DSA_SIG_get0(BIGNUM **pr, BIGNUM **ps, const DSA_SIG *sig)
{
*pr = sig->r;
*ps = sig->s;
diff --git a/doc/crypto/DSA_SIG_new.pod b/doc/crypto/DSA_SIG_new.pod
index 2d9e272..82cff7d 100644
--- a/doc/crypto/DSA_SIG_new.pod
+++ b/doc/crypto/DSA_SIG_new.pod
@@ -10,7 +10,7 @@ DSA_SIG_new, DSA_SIG_free - allocate and free DSA signature objects
DSA_SIG *DSA_SIG_new(void);
void DSA_SIG_free(DSA_SIG *a);
- void DSA_SIG_get0(BIGNUM **pr, BIGNUM **ps, DSA_SIG *sig);
+ void DSA_SIG_get0(BIGNUM **pr, BIGNUM **ps, const DSA_SIG *sig);
=head1 DESCRIPTION
diff --git a/include/openssl/dsa.h b/include/openssl/dsa.h
index 3346853..8653449 100644
--- a/include/openssl/dsa.h
+++ b/include/openssl/dsa.h
@@ -184,7 +184,7 @@ DSA_SIG *DSA_SIG_new(void);
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, DSA_SIG *sig);
+void DSA_SIG_get0(BIGNUM **pr, BIGNUM **ps, const DSA_SIG *sig);
DSA_SIG *DSA_do_sign(const unsigned char *dgst, int dlen, DSA *dsa);
int DSA_do_verify(const unsigned char *dgst, int dgst_len,
More information about the openssl-commits
mailing list