1. add a function 'encrypt' directly in netwerk/protocol/jar/src/nsJARChannel.cpp, and call it from the same source file;
2. place the function 'encrypt' in MyEncrypt.cpp file, include this MyEncrypt.cpp file in original nsJARChannel.cpp, and call 'encrypt' from nsJARChannel.cpp;
3. place the function 'encrypt' in MyEncrypt.cpp file, export the function prototype in MyEncrypt.h, include MyEncrypt.h file in original nsJARChannel.cpp, and call 'encrypt' from nsJARChannel.cpp.
I know that what I do in choice 1 is 'modification'. My question is: is MyEncrypt.cpp in choice 2 and 3 valid 'larger works'? If it is, one can always convert the essence of 'modifications' to 'larger works' in this way. Is this true? (Although there are still modifications in the original code, these modifications are trivial and expose no essence of the actual modifications.)
(Please forgive my English grammar, for English is not my native language.:) )
Wang Xianzhu
_______________________________________________ mozilla-license mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-license
