Author: abartlet
Date: 2006-05-08 18:52:36 +0000 (Mon, 08 May 2006)
New Revision: 545

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=lorikeet&rev=545

Log:
Another fix for the low-entropy failure case.

Andrew Bartlett

Modified:
   trunk/heimdal/lib/hx509/crypto.c


Changeset:
Modified: trunk/heimdal/lib/hx509/crypto.c
===================================================================
--- trunk/heimdal/lib/hx509/crypto.c    2006-05-08 15:09:43 UTC (rev 544)
+++ trunk/heimdal/lib/hx509/crypto.c    2006-05-08 18:52:36 UTC (rev 545)
@@ -32,7 +32,7 @@
  */
 
 #include "hx_locl.h"
-RCSID("$Id: crypto.c,v 1.37 2006/05/02 10:40:53 lha Exp $");
+RCSID("$Id: crypto.c,v 1.38 2006/05/08 16:46:31 lha Exp $");
 
 struct hx509_crypto;
 
@@ -1577,7 +1577,7 @@
            free(ivec->data);
            memset(ivec, 0, sizeof(*ivec));
        }
-       if (ciphertext) {
+       if (*ciphertext) {
            if ((*ciphertext)->data) {
                free((*ciphertext)->data);
            }

Reply via email to