Fix the docs too
authorRichard J. Moore <rich@kde.org>
Sat, 30 Jul 2016 18:34:06 +0000 (19:34 +0100)
committerRich Salz <rsalz@openssl.org>
Sat, 30 Jul 2016 19:19:24 +0000 (15:19 -0400)
Reviewed-by: Stephen Henson <steve@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1367)

doc/crypto/X509_get_subject_name.pod
doc/crypto/X509_get_version.pod

index 3889735da9c01845fff1bf60a60fb539dfe58740..408cd88ecda2221cec2f289d33b29ba715f22f69 100644 (file)
@@ -11,10 +11,10 @@ subject names
 
  #include <openssl/x509.h>
 
- X509_NAME *X509_get_subject_name(X509 *x);
+ X509_NAME *X509_get_subject_name(const X509 *x);
  int X509_set_subject_name(X509 *x, X509_NAME *name);
 
- X509_NAME *X509_get_issuer_name(X509 *x);
+ X509_NAME *X509_get_issuer_name(const X509 *x);
  int X509_set_issuer_name(X509 *x, X509_NAME *name);
 
  X509_NAME *X509_REQ_get_subject_name(X509_REQ *req);
index c7decc3eecb890acc1ceb3f5d04bc1edbdaf6cb0..9e8c123d06a19a916691cb9f7a12f94c018d6113 100644 (file)
@@ -10,7 +10,7 @@ certificate request or CRL version
 
  #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);