diff options
author | Richard Levitte <levitte@openssl.org> | 2000-11-06 23:04:15 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2000-11-06 23:04:15 +0000 |
commit | 7081f3bd89e465a07f04b12467533e004d617f9a (patch) | |
tree | ff3c3ef5dbb1c2826d531c45fa9a4fb622794e28 /crypto/asn1/d2i_r_pr.c | |
parent | 0413ba429c9dd4a49668da7c6d696720480aa4f1 (diff) |
Constify the RSA parts of the ASN.1 library. Note some ugly casts
that are needed in the ASN.1 macros. Hopefully, we can get rid of
those in an elegant way in the future.
Diffstat (limited to 'crypto/asn1/d2i_r_pr.c')
-rw-r--r-- | crypto/asn1/d2i_r_pr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/d2i_r_pr.c b/crypto/asn1/d2i_r_pr.c index 6c8a45f821..3d2dd65637 100644 --- a/crypto/asn1/d2i_r_pr.c +++ b/crypto/asn1/d2i_r_pr.c @@ -75,7 +75,7 @@ ASN1_METHOD *RSAPrivateKey_asn1_meth(void) return(&method); } -RSA *d2i_RSAPrivateKey(RSA **a, unsigned char **pp, long length) +RSA *d2i_RSAPrivateKey(RSA **a, const unsigned char **pp, long length) { int i=ASN1_R_PARSING; ASN1_INTEGER *bs=NULL; |