X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=include%2Fopenssl%2Fx509.h;h=3c364dde013e910a140ba00267f9e755c3a59997;hp=906184a5d841ccc5859d2087ee72bc7d92883766;hb=82643254d6d85e7875dbba0df85cea8751b1c3a0;hpb=bd227450d45317f82ae908f56e0fd833a50ee066 diff --git a/include/openssl/x509.h b/include/openssl/x509.h index 906184a5d8..3c364dde01 100644 --- a/include/openssl/x509.h +++ b/include/openssl/x509.h @@ -989,11 +989,11 @@ int X509_TRUST_get_count(void); X509_TRUST *X509_TRUST_get0(int idx); int X509_TRUST_get_by_id(int id); int X509_TRUST_add(int id, int flags, int (*ck) (X509_TRUST *, X509 *, int), - char *name, int arg1, void *arg2); + const char *name, int arg1, void *arg2); void X509_TRUST_cleanup(void); -int X509_TRUST_get_flags(X509_TRUST *xp); -char *X509_TRUST_get0_name(X509_TRUST *xp); -int X509_TRUST_get_trust(X509_TRUST *xp); +int X509_TRUST_get_flags(const X509_TRUST *xp); +char *X509_TRUST_get0_name(const X509_TRUST *xp); +int X509_TRUST_get_trust(const X509_TRUST *xp); /* BEGIN ERROR CODES */ /*