diff options
author | Milan Bartos <mbartos@redhat.com> | 2013-07-02 12:46:50 +0200 |
---|---|---|
committer | Milan Bartos <mbartos@redhat.com> | 2013-07-02 12:46:50 +0200 |
commit | 6a81af9814def8880e9bad9ec04204d6ee273c5b (patch) | |
tree | 8baaa725c9381a5e6e2a0e257a64545656a52eab | |
parent | 0226edfc63670a38e856ab05d2ef210f56b45df6 (diff) | |
download | nss-hg-6a81af9814def8880e9bad9ec04204d6ee273c5b.tar.gz |
Bug 884178 - add PK11_CipherFinal function wrapper, r=rrelyea
-rw-r--r-- | lib/nss/nss.def | 1 | ||||
-rw-r--r-- | lib/pk11wrap/pk11pub.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/nss/nss.def b/lib/nss/nss.def index 0b98d8c1a..e07d55949 100644 --- a/lib/nss/nss.def +++ b/lib/nss/nss.def @@ -1034,6 +1034,7 @@ PK11_Decrypt; PK11_Encrypt; CERT_PostOCSPRequest; CERT_AddCertToListHead; +PK11_CipherFinal; ;+ local: ;+ *; ;+}; diff --git a/lib/pk11wrap/pk11pub.h b/lib/pk11wrap/pk11pub.h index 53b501c24..41bdd5562 100644 --- a/lib/pk11wrap/pk11pub.h +++ b/lib/pk11wrap/pk11pub.h @@ -702,6 +702,7 @@ SECStatus PK11_CipherOp(PK11Context *context, unsigned char * out, int *outlen, SECStatus PK11_Finalize(PK11Context *context); SECStatus PK11_DigestFinal(PK11Context *context, unsigned char *data, unsigned int *outLen, unsigned int length); +#define PK11_CipherFinal PK11_DigestFinal SECStatus PK11_SaveContext(PK11Context *cx,unsigned char *save, int *len, int saveLength); |