"TLS: unable to get common name from peer certificate.\n",
0, 0, 0 );
#endif
- ld->ld_error = LDAP_STRDUP("TLS: unable to get CN from peer certificate");
+ ld->ld_error = LDAP_STRDUP(
+ _("TLS: unable to get CN from peer certificate"));
} else if (strcasecmp(name, buf)) {
#ifdef NEW_LOGGING
name, buf, 0 );
#endif
ret = LDAP_CONNECT_ERROR;
- ld->ld_error = LDAP_STRDUP("TLS: hostname does not match CN in peer certificate");
+ ld->ld_error = LDAP_STRDUP(
+ _("TLS: hostname does not match CN in peer certificate"));
} else {
ret = LDAP_SUCCESS;