aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2016-08-17 14:58:56 +0100
committerDr. Stephen Henson <steve@openssl.org>2016-08-17 14:59:54 +0100
commit5ebd2fcbc76c8b777d044f25dd50d73d75625352 (patch)
treee4d85a0eec6fd0c7aae59aefb13025f7bd962339 /crypto/x509
parent8adc1cb8510a9f4beab9e53f53c9690d2ced12fd (diff)
downloadopenssl-5ebd2fcbc76c8b777d044f25dd50d73d75625352.tar.gz
Constify X509_certificate_type()
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509/x509type.c b/crypto/x509/x509type.c
index 8c7242cc66..aca8355273 100644
--- a/crypto/x509/x509type.c
+++ b/crypto/x509/x509type.c
@@ -13,7 +13,7 @@
#include <openssl/objects.h>
#include <openssl/x509.h>
-int X509_certificate_type(X509 *x, const EVP_PKEY *pkey)
+int X509_certificate_type(const X509 *x, const EVP_PKEY *pkey)
{
const EVP_PKEY *pk;
int ret = 0, i;