diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-16 20:18:04 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 12:01:29 +0100 |
commit | ac4e257747075958d37665f327bdf685dd2478ab (patch) | |
tree | 80c24b541eca1ba0a03245800bae413956f4ccad /crypto/asn1/x_algor.c | |
parent | 0c8006480f2d5e4999726ab4161b173010bea13a (diff) |
constify X509_ALGOR_get0()
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/asn1/x_algor.c')
-rw-r--r-- | crypto/asn1/x_algor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/x_algor.c b/crypto/asn1/x_algor.c index dfebf6865a..72378db922 100644 --- a/crypto/asn1/x_algor.c +++ b/crypto/asn1/x_algor.c @@ -50,8 +50,8 @@ int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval) return 1; } -void X509_ALGOR_get0(ASN1_OBJECT **paobj, int *pptype, void **ppval, - X509_ALGOR *algor) +void X509_ALGOR_get0(const ASN1_OBJECT **paobj, int *pptype, + const void **ppval, const X509_ALGOR *algor) { if (paobj) *paobj = algor->algorithm; |