On Sat, Apr 04, 2015 at 09:21:38AM -0400, Jiri B wrote: > On Thu, Apr 02, 2015 at 09:26:06AM -0400, Jiri B wrote: > > Still segfaults with your lastest diff. BTW is there a way to > > reinstall a package with same version without loosing packages > > that depend on him? I used a workaround, modified revision as > > I'm slow line now and I don't want to download packages again. > > > > #0 SHA256_Final (md=0x1f8cce950d19 "master secret", c=0x1f8d06776c60 > > <init256>) at > > /usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/md32_common.h:296 > > #1 0x00001f8d06c46e95 in HMAC_Update (cx=0x1f8c398fd820, > > data=0x1f8cce950d19 "master secret", data_len=13) at alghmac.c:121 > > #2 0x00001f8c24b77d97 in HMAC_Update (cx=0x1f8c398fd820, > > data=0x1f8cce950d19 "master secret", data_len=13) at loader.c:1522 > > #3 0x00001f8d0673b775 in int_update (ctx=<optimized out>, > > data=0x1f8d06776c60 <init256>, count=13) at > > /usr/src/lib/libcrypto/crypto/../../libssl/src/crypto/hmac/hm_pmeth.c:155 > > I tried to add 'HMAC_Update' into the patch but this 'hack' didn't work, > nss rebuild failed.
Well, if you try things, you have to know what you're doing... Here there's potentially a conflict between openssl and nss, but i'm not sure that's the root issue. And if you want to add random #defines, you have to add them *before* the actual definition of the function that causes a problem (in that case, in lib/freebl/alghmac.h). And that might only be a broken workaround for a library loading issue... Landry
