- Modified the separators used for CURLOPT_CERTINFO in multi-part outputs. I
authorDaniel Stenberg <daniel@haxx.se>
Mon, 29 Jun 2009 20:45:42 +0000 (20:45 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 29 Jun 2009 20:45:42 +0000 (20:45 +0000)
  don't know how they got wrong in the first place, but using this output
  format makes it possible to quite easily separate the string into an array
  of multiple items.

lib/ssluse.c

index a570f71..ea1e62d 100644 (file)
@@ -574,7 +574,7 @@ static int x509_name_oneline(X509_NAME *a, char *buf, size_t size)
   if(!bio_out)
     return 1; /* alloc failed! */
 
-  rc = X509_NAME_print_ex(bio_out, a, 0, XN_FLAG_SEP_CPLUS_SPC);
+  rc = X509_NAME_print_ex(bio_out, a, 0, XN_FLAG_SEP_SPLUS_SPC);
   BIO_get_mem_ptr(bio_out, &biomem);
 
   if((size_t)biomem->length < size)