summaryrefslogtreecommitdiffstats
path: root/crypto/include/internal/asn1_int.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-08-17 00:21:55 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-08-17 12:01:29 +0100
commit245c6bc33b1481052f347f316cec16888aa1be85 (patch)
tree9ffe8102e9e1891fb5820cecc07203f54c7fddb9 /crypto/include/internal/asn1_int.h
parentac4e257747075958d37665f327bdf685dd2478ab (diff)
Constify private key decode.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/include/internal/asn1_int.h')
-rw-r--r--crypto/include/internal/asn1_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/include/internal/asn1_int.h b/crypto/include/internal/asn1_int.h
index f4c71fc861..f70e3b47ba 100644
--- a/crypto/include/internal/asn1_int.h
+++ b/crypto/include/internal/asn1_int.h
@@ -22,7 +22,7 @@ struct evp_pkey_asn1_method_st {
int (*pub_cmp) (const EVP_PKEY *a, const EVP_PKEY *b);
int (*pub_print) (BIO *out, const EVP_PKEY *pkey, int indent,
ASN1_PCTX *pctx);
- int (*priv_decode) (EVP_PKEY *pk, PKCS8_PRIV_KEY_INFO *p8inf);
+ int (*priv_decode) (EVP_PKEY *pk, const PKCS8_PRIV_KEY_INFO *p8inf);
int (*priv_encode) (PKCS8_PRIV_KEY_INFO *p8, const EVP_PKEY *pk);
int (*priv_print) (BIO *out, const EVP_PKEY *pkey, int indent,
ASN1_PCTX *pctx);