diff options
author | Rich Salz <rsalz@openssl.org> | 2016-09-21 10:37:03 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2016-09-21 10:37:03 -0400 |
commit | 4588cb4443552f1d251a637b48f39d891051ee1c (patch) | |
tree | 6e66ef57f0fa32a8577a42f348c272f15203765d /include | |
parent | 780bbb96bf514f0b4013e9c5725614ba5153c497 (diff) |
Revert "Constify code about X509_VERIFY_PARAM"
This reverts commit 81f9ce1e1965e0e33db6d2391285c4c1b6af0434.
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ssl.h | 2 | ||||
-rw-r--r-- | include/openssl/x509_vfy.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 5355c8302a..183296c2cf 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1493,7 +1493,7 @@ __owur int SSL_set_trust(SSL *s, int trust); __owur int SSL_set1_host(SSL *s, const char *hostname); __owur int SSL_add1_host(SSL *s, const char *hostname); -__owur const char *SSL_get0_peername(const SSL *s); +__owur const char *SSL_get0_peername(SSL *s); void SSL_set_hostflags(SSL *s, unsigned int flags); __owur int SSL_CTX_dane_enable(SSL_CTX *ctx); diff --git a/include/openssl/x509_vfy.h b/include/openssl/x509_vfy.h index 12984f0055..cab8005eee 100644 --- a/include/openssl/x509_vfy.h +++ b/include/openssl/x509_vfy.h @@ -453,7 +453,7 @@ int X509_VERIFY_PARAM_set_flags(X509_VERIFY_PARAM *param, unsigned long flags); int X509_VERIFY_PARAM_clear_flags(X509_VERIFY_PARAM *param, unsigned long flags); -unsigned long X509_VERIFY_PARAM_get_flags(const X509_VERIFY_PARAM *param); +unsigned long X509_VERIFY_PARAM_get_flags(X509_VERIFY_PARAM *param); int X509_VERIFY_PARAM_set_purpose(X509_VERIFY_PARAM *param, int purpose); int X509_VERIFY_PARAM_set_trust(X509_VERIFY_PARAM *param, int trust); void X509_VERIFY_PARAM_set_depth(X509_VERIFY_PARAM *param, int depth); @@ -470,7 +470,7 @@ int X509_VERIFY_PARAM_add1_host(X509_VERIFY_PARAM *param, const char *name, size_t namelen); void X509_VERIFY_PARAM_set_hostflags(X509_VERIFY_PARAM *param, unsigned int flags); -const char *X509_VERIFY_PARAM_get0_peername(const X509_VERIFY_PARAM *); +char *X509_VERIFY_PARAM_get0_peername(X509_VERIFY_PARAM *); void X509_VERIFY_PARAM_move_peername(X509_VERIFY_PARAM *, X509_VERIFY_PARAM *); int X509_VERIFY_PARAM_set1_email(X509_VERIFY_PARAM *param, const char *email, size_t emaillen); |