Commit e9473d2e authored by Simon Morlat's avatar Simon Morlat

fix compilation error with polarssl backend

parent b41ca6b5
......@@ -234,7 +234,7 @@ int32_t bctbx_x509_certificate_get_der(bctbx_x509_certificate_t *cert, unsigned
return 0;
}
int32_t bctbx_x509_certificate_get_subject_dn(bctbx_x509_certificate_t *cert, char *dn, size_t dn_length) {
int32_t bctbx_x509_certificate_get_subject_dn(const bctbx_x509_certificate_t *cert, char *dn, size_t dn_length) {
if (cert==NULL) {
return BCTBX_ERROR_INVALID_CERTIFICATE;
}
......
......@@ -213,7 +213,7 @@ int32_t bctbx_x509_certificate_get_der(bctbx_x509_certificate_t *cert, unsigned
return 0;
}
int32_t bctbx_x509_certificate_get_subject_dn(bctbx_x509_certificate_t *cert, char *dn, size_t dn_length) {
int32_t bctbx_x509_certificate_get_subject_dn(const bctbx_x509_certificate_t *cert, char *dn, size_t dn_length) {
if (cert==NULL) {
return BCTBX_ERROR_INVALID_CERTIFICATE;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment