static char ret[SHORT_STRING];
char *c, *c2;
- strfcpy (ret, _("Unknown"), sizeof (ret));
+ m_strcpy(ret, sizeof(ret), _("Unknown"));
c = strstr (line, ndx);
if (c) {
c2 = strchr (c, '/');
if (c2)
*c2 = '\0';
- strfcpy (ret, c, sizeof (ret));
+ m_strcpy(ret, sizeof(ret), c);
if (c2)
*c2 = '/';
}
static char buf[64];
BIO *bio;
- strfcpy (buf, _("[invalid date]"), sizeof (buf));
+ m_strcpy(buf, sizeof(buf), _("[invalid date]"));
bio = BIO_new (BIO_s_mem ());
if (bio) {
menu->dialog[i] = p_new(char, SHORT_STRING);
row = 0;
- strfcpy (menu->dialog[row], _("This certificate belongs to:"),
- SHORT_STRING);
+ m_strcpy(menu->dialog[row], SHORT_STRING,
+ _("This certificate belongs to:"));
row++;
name = X509_NAME_oneline (X509_get_subject_name (data->cert),
buf, sizeof (buf));
}
row++;
- strfcpy (menu->dialog[row], _("This certificate was issued by:"),
- SHORT_STRING);
+ m_strcpy(menu->dialog[row], SHORT_STRING,
+ _("This certificate was issued by:"));
row++;
name = X509_NAME_oneline (X509_get_issuer_name (data->cert),
buf, sizeof (buf));