Hi,

I think there are errors here:

http://www.cryptopp.com/wiki/Pipelining

e.g.

<snip>
string s1 = "Pipeline", s2;

StringSource( s1, new StringSink( s2 ) );

cout << "s1: " << s1 << endl;
cout << "s2: " << s2 << endl;
</snip>

On my machine at least, this results in

s1: Pipeline
s2:

I think it should be

StringSource( s1, true, new StringSink( s2 ) );


The documented code compiles, but the pointer to StringSink is interpreted as bool pumpAll and the BufferedTransformation* defaults to NULL.

Same problem is here: http://www.cryptopp.com/wiki/Filter


Regards,

Roland

--
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.

Reply via email to