aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2009-06-29 20:45:42 +0000
committerDaniel Stenberg <daniel@haxx.se>2009-06-29 20:45:42 +0000
commit9cb68c6e32f29ad5ba00195a164371006e26467a (patch)
treec40962857859cb12ba7a8749d13a7fcbdaa480ec
parenta9a89c604a6d298624ed8c52fb4acfa16234a828 (diff)
- Modified the separators used for CURLOPT_CERTINFO in multi-part outputs. I
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.
-rw-r--r--lib/ssluse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index a570f7163..ea1e62da1 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -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)