freebsd-ports/security/newpki-lib/files/patch-src_mString.cpp
Pav Lucistnik c08970fbc3 NewPKI is a PKI based on the OpenSSL low-level API, all the datas are handled
through a database, which provides a much more flexible PKI than with OpenSSL,
such as seeking a certificate with a search engine.

PR:		ports/83385
Submitted by:	Vsevolod Stakhov <vsevolod@highsecure.ru>
2005-07-14 13:01:35 +00:00

11 lines
343 B
C++

--- src/mString.cpp.orig Tue Jul 5 03:03:22 2005
+++ src/mString.cpp Tue Jul 5 03:04:15 2005
@@ -1223,7 +1223,7 @@
outbuf = &dst[0];
outbytesleft = dst.size();
- if (iconv(UTF8ToLoc, &inbuf, &inbytesleft,
+ if (iconv(UTF8ToLoc, (const char **)&inbuf, &inbytesleft,
&outbuf, &outbytesleft) == -1)
{
iconv_close(UTF8ToLoc);