X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_ssl.c;h=2354cd98d1ff933ed06ac60142ca861f7224905a;hp=aeed4642eb598d5c249dcf76318b6dbc60ae2280;hb=a8808601c98c76ec8344c8e4ba5a607d72c2805e;hpb=1c16e9623a9fb6a15bb284a6f7322b583ebc06a7 diff --git a/mutt_ssl.c b/mutt_ssl.c index aeed464..2354cd9 100644 --- a/mutt_ssl.c +++ b/mutt_ssl.c @@ -412,7 +412,7 @@ static char *x509_get_part (char *line, const char *ndx) 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) { @@ -420,7 +420,7 @@ static char *x509_get_part (char *line, const char *ndx) c2 = strchr (c, '/'); if (c2) *c2 = '\0'; - strfcpy (ret, c, sizeof (ret)); + m_strcpy(ret, sizeof(ret), c); if (c2) *c2 = '/'; } @@ -452,7 +452,7 @@ static char *asn1time_to_string (ASN1_UTCTIME * tm) 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) { @@ -588,8 +588,8 @@ static int ssl_check_certificate (sslsockdata * data) 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)); @@ -599,8 +599,8 @@ static int ssl_check_certificate (sslsockdata * data) } 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));