svn rev #24366: branches/nss/src/lib/crypto/nss/ 
    ghudson@MIT.EDU 
    ghudson at MIT.EDU
       
    Mon Sep 27 20:02:03 EDT 2010
    
    
  
http://src.mit.edu/fisheye/changelog/krb5/?cs=24366
Commit By: ghudson
Log Message:
Use the PK11_DestroyContext() instead of PK11_Finalize() to destroy
crypto contexts in hmac.c as well.
Changed Files:
U   branches/nss/src/lib/crypto/nss/hmac.c
Modified: branches/nss/src/lib/crypto/nss/hmac.c
===================================================================
--- branches/nss/src/lib/crypto/nss/hmac.c	2010-09-27 23:26:03 UTC (rev 24365)
+++ branches/nss/src/lib/crypto/nss/hmac.c	2010-09-28 00:02:03 UTC (rev 24366)
@@ -159,7 +159,7 @@
 fail:
     ret = k5_nss_map_last_error();
     if (ctx)
-        PK11_Finalize(ctx);
+        PK11_DestroyContext(ctx, PR_TRUE);
     return ret;
 }
 
    
    
More information about the cvs-krb5
mailing list