diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 13:50:48 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-17 13:59:04 +0100 |
commit | 8900f3e3982a016a25ad87a2270446e780038ec9 (patch) | |
tree | 686da17998e72e5a54c75bb511459e55bc5344f9 /crypto/x509/x509type.c | |
parent | 5e6089f0eba7b12f21b3237c57f2bd56049eb1ae (diff) |
Convert X509* functions to use const getters
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/x509/x509type.c')
-rw-r--r-- | crypto/x509/x509type.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/x509/x509type.c b/crypto/x509/x509type.c index 9acab04401..8c7242cc66 100644 --- a/crypto/x509/x509type.c +++ b/crypto/x509/x509type.c @@ -13,9 +13,9 @@ #include <openssl/objects.h> #include <openssl/x509.h> -int X509_certificate_type(X509 *x, EVP_PKEY *pkey) +int X509_certificate_type(X509 *x, const EVP_PKEY *pkey) { - EVP_PKEY *pk; + const EVP_PKEY *pk; int ret = 0, i; if (x == NULL) |