@@ -49,16 +49,6 @@ ec_error_t cvt_essdn_to_username(const char *idn, const char *org,
4949 return ecServerOOM;
5050}
5151
52- ec_error_t cvt_essdn_to_username (const char *idn, const char *org,
53- cvt_id2user id2user, char *username, size_t ulen)
54- {
55- std::string es_result;
56- auto ret = cvt_essdn_to_username (idn, org, std::move (id2user), es_result);
57- if (ret == ecSuccess)
58- gx_strlcpy (username, es_result.c_str (), ulen);
59- return ret;
60- }
61-
6252/* *
6353 * ecNullObject is returned to signify that a situation was encountered that is
6454 * equivalent to addrtype not having been present in the first place.
@@ -93,17 +83,6 @@ ec_error_t cvt_genaddr_to_smtpaddr(const char *addrtype, const char *emaddr,
9383 return ecUnknownUser;
9484}
9585
96- ec_error_t cvt_genaddr_to_smtpaddr (const char *addrtype, const char *emaddr,
97- const char *org, cvt_id2user id2user, char *smtpaddr, size_t slen)
98- {
99- std::string es_result;
100- auto ret = cvt_genaddr_to_smtpaddr (addrtype, emaddr, org,
101- std::move (id2user), es_result);
102- if (ret == ecSuccess)
103- gx_strlcpy (smtpaddr, es_result.c_str (), slen);
104- return ret;
105- }
106-
10786static ec_error_t emsab_to_email2 (EXT_PULL &ser, const char *org, cvt_id2user id2user,
10887 std::string &smtpaddr)
10988{
0 commit comments