]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/openssl/ssl.h
Make data argument const in SSL_dane_tlsa_add
[thirdparty/openssl.git] / include / openssl / ssl.h
index eda76df39fc8633bb7bea9b122af6fe714fcebb8..05a07eb98de6c9ad4af389bf6ab6211b924bb5fa 100644 (file)
@@ -1667,7 +1667,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,