Thank you for explanation.
Best regards,
Konstantin Andreev
Wan-Teh Chang wrote:
On Thu, Oct 1, 2009 at 8:49 AM, Konstantin Andreev <andr...@swemel.ru> wrote:
I have a couple of related questions.
1) If I am adding a function into the "util" library, should I care about placing a
wrapper in the "utilwrap.c" ?
No. New functions in the "util" library don't need a wrapper. The wrappers are only needed for
functions that we moved from the "nss" library to the "util" library.
2) Is the USE_UTIL_DIRECTLY really just an option ? It looks like it couldn't be turned off, because
"softokn" is using *_Util. Turning USE_UTIL_DIRECTLY off will cause dependency of
"softokn" from "nss" lib.
USE_UTIL_DIRECTLY is not an option for the softoken, but it is an option for anything that depends on both the
"nss" and "util" libraries, because they can get functions like SECITEM_FreeItem from either the
"nss" or the "util" library, depending on the USE_UTIL_DIRECTLY setting.
Wan-Teh
--
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto