diff options
author | Richard Levitte <levitte@openssl.org> | 2000-11-07 13:54:39 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-11-07 13:54:39 +0000 |
commit | a4aba800d9e0f81617d2f3d95d4fa99a4487bab2 (patch) | |
tree | eac98957868e4dc4af45182a91a7144c2ea1dc0b /crypto/dsa/dsa_asn1.c | |
parent | 669cefdd3542e1dce8effeb8d898344c59608bfc (diff) |
Constify DSA-related code.
Diffstat (limited to 'crypto/dsa/dsa_asn1.c')
-rw-r--r-- | crypto/dsa/dsa_asn1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/dsa/dsa_asn1.c b/crypto/dsa/dsa_asn1.c index a76c8f7c7e..81c9c863b4 100644 --- a/crypto/dsa/dsa_asn1.c +++ b/crypto/dsa/dsa_asn1.c @@ -29,7 +29,7 @@ void DSA_SIG_free(DSA_SIG *r) OPENSSL_free(r); } -int i2d_DSA_SIG(DSA_SIG *v, unsigned char **pp) +int i2d_DSA_SIG(const DSA_SIG *v, unsigned char **pp) { int t=0,len; ASN1_INTEGER rbs,sbs; @@ -69,7 +69,7 @@ int i2d_DSA_SIG(DSA_SIG *v, unsigned char **pp) return(t); } -DSA_SIG *d2i_DSA_SIG(DSA_SIG **a, unsigned char **pp, long length) +DSA_SIG *d2i_DSA_SIG(DSA_SIG **a, const unsigned char **pp, long length) { int i=ERR_R_NESTED_ASN1_ERROR; ASN1_INTEGER *bs=NULL; |