httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <...@apache.org>
Subject Re: Best (safest) way to edit char string (from envvars)?
Date Wed, 20 Jun 2012 16:48:06 GMT

On 20 Jun 2012, at 15:35, <ohaya@cox.net> <ohaya@cox.net> wrote:

> The client cert char string returned has the extra beginning line (-----BEGIN CERTIFICATE-----)
and ending line (-----END CERTIFICATE-----), but I need to remove both of those lines for
a call that I need to make.

That's not quite the same as needing a mutable string.

Can your call be modified to accept a non-null-terminated
pointer together with a length?  You would of course determine
those by parsing rather than copying the original.

-- 
Nick Kew
Mime
View raw message