diff options
author | Matt Caswell <matt@openssl.org> | 2016-08-13 14:40:05 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 00:36:27 +0200 |
commit | b2e57e094db5f516cffa6f2749615a7287a7681d (patch) | |
tree | 3ab6aeb081e13354f00e89731c44e955059d9e3f /crypto/asn1 | |
parent | Convert TS_STATUS_INFO* functions to use const getters (diff) | |
download | openssl-b2e57e094db5f516cffa6f2749615a7287a7681d.tar.xz openssl-b2e57e094db5f516cffa6f2749615a7287a7681d.zip |
Convert PKCS8* functions to use const getters
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'crypto/asn1')
-rw-r--r-- | crypto/asn1/p8_pkey.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/asn1/p8_pkey.c b/crypto/asn1/p8_pkey.c index c08aa85267..b8cc0b1407 100644 --- a/crypto/asn1/p8_pkey.c +++ b/crypto/asn1/p8_pkey.c @@ -65,7 +65,8 @@ int PKCS8_pkey_get0(ASN1_OBJECT **ppkalg, return 1; } -STACK_OF(X509_ATTRIBUTE) *PKCS8_pkey_get0_attrs(PKCS8_PRIV_KEY_INFO *p8) +const STACK_OF(X509_ATTRIBUTE) * +PKCS8_pkey_get0_attrs(const PKCS8_PRIV_KEY_INFO *p8) { return p8->attributes; } |