Lines Matching defs:namestring
533 struct tls_x509_name_string *namestring)
538 namestring->str[0] = '\0';
545 assert(sizeof namestring->str >= 4); /* "?" or "...", plus 0 */
548 namestring->str[0] = '?';
549 namestring->str[1] = 0;
553 X509_NAME_oneline(name, namestring->str, sizeof namestring->str);
554 len = strlen(namestring->str);
555 assert(namestring->str[len] == 0);
556 assert(len < sizeof namestring->str);
558 if (len + 1 == sizeof namestring->str) {
565 assert(namestring->str[len] == 0);
566 namestring->str[--len] = '.';
567 namestring->str[--len] = '.';
568 namestring->str[--len] = '.';