=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/openssl/certhash.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- src/usr.bin/openssl/certhash.c 2015/02/22 22:29:40 1.5 +++ src/usr.bin/openssl/certhash.c 2015/02/25 04:56:41 1.6 @@ -91,6 +91,9 @@ static void hashinfo_free(struct hashinfo *hi) { + if (hi == NULL) + return; + free(hi->filename); free(hi->target); free(hi); @@ -359,10 +362,8 @@ if ((link = hashinfo(NULL, hi->hash, hi->fingerprint)) == NULL) goto err; -printf("hi->is_crl = %i\n", hi->is_crl); if ((link->filename = hashinfo_linkname(hi)) == NULL) goto err; -printf("filename = %s\n", link->filename); link->reference = hi; link->changed = 1;