Make data argument const in SSL_dane_tlsa_add
authorPatrick Schlangen <patrick@schlangen.me>
Wed, 10 Jan 2018 17:06:35 +0000 (12:06 -0500)
committerRich Salz <rsalz@openssl.org>
Wed, 10 Jan 2018 17:52:56 +0000 (12:52 -0500)
commit19c708d77d6b61fbd46c13d43f2b078eae5362f9
treeb80df77e0c0f484bcedac32e46b7531fa5592def
parent32859f608c2fe876c418e94e3883ab04083cac75
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)
doc/ssl/SSL_CTX_dane_enable.pod
include/openssl/ssl.h
ssl/ssl_lib.c