Fix the docs too
[openssl.git] / doc / crypto / X509_get_version.pod
index c7decc3eecb890acc1ceb3f5d04bc1edbdaf6cb0..9e8c123d06a19a916691cb9f7a12f94c018d6113 100644 (file)
@@ -10,7 +10,7 @@ certificate request or CRL version
 
  #include <openssl/x509.h>
 
 
  #include <openssl/x509.h>
 
- long X509_get_version(X509 *x);
+ long X509_get_version(const X509 *x);
  int X509_set_version(X509 *x, long version);
 
  long X509_REQ_get_version(X509_REQ *req);
  int X509_set_version(X509 *x, long version);
 
  long X509_REQ_get_version(X509_REQ *req);