Hi everybody, I'm getting problems hashing a buffer via the PK11_HashBuf API in NSS.
I have to set the SECOidTag hashAlg either to SEC_OID_MD5 (= 3) or to SEC_OID_SHA1 (= 4), but the function itself fails. I looked at the code inside it and I found that it's not able to create a PK11Context via the PK11_CreateDigestContext....it always returns NULL regardless of the hashAlg parameter...... Anyone knows where is my mistake? Thanks in advance, Simone.
