diff options
author | Patrick Schlangen <patrick@schlangen.me> | 2018-01-10 12:06:35 -0500 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2018-01-10 12:52:56 -0500 |
commit | 19c708d77d6b61fbd46c13d43f2b078eae5362f9 (patch) | |
tree | b80df77e0c0f484bcedac32e46b7531fa5592def /include | |
parent | 32859f608c2fe876c418e94e3883ab04083cac75 (diff) |
Make data argument const in SSL_dane_tlsa_add
The data argument of SSL_dane_tlsa_add is used read-only, so it
should be const.
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5056)
(cherry picked from commit a41a6120cdcb7e883481bc1bed55e7157c9255c4)
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/ssl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/ssl.h b/include/openssl/ssl.h index 4cdcdcf38b..0d0866314d 100644 --- a/include/openssl/ssl.h +++ b/include/openssl/ssl.h @@ -1529,7 +1529,7 @@ __owur int SSL_CTX_dane_mtype_set(SSL_CTX *ctx, const EVP_MD *md, uint8_t mtype, uint8_t ord); __owur int SSL_dane_enable(SSL *s, const char *basedomain); __owur int SSL_dane_tlsa_add(SSL *s, uint8_t usage, uint8_t selector, - uint8_t mtype, unsigned char *data, size_t dlen); + uint8_t mtype, unsigned const char *data, size_t dlen); __owur int SSL_get0_dane_authority(SSL *s, X509 **mcert, EVP_PKEY **mspki); __owur int SSL_get0_dane_tlsa(SSL *s, uint8_t *usage, uint8_t *selector, uint8_t *mtype, unsigned const char **data, |