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/i2d_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/i2d_r_pr.c')
-rw-r--r-- | crypto/asn1/i2d_r_pr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/i2d_r_pr.c b/crypto/asn1/i2d_r_pr.c index 88b1aac989..518f4af9a6 100644 --- a/crypto/asn1/i2d_r_pr.c +++ b/crypto/asn1/i2d_r_pr.c @@ -64,7 +64,7 @@ #include <openssl/objects.h> #include <openssl/asn1_mac.h> -int i2d_RSAPrivateKey(RSA *a, unsigned char **pp) +int i2d_RSAPrivateKey(const RSA *a, unsigned char **pp) { BIGNUM *num[9]; unsigned char data[1]; |