+2000-08-18 Harlan Stenn <stenn@whimsy.udel.edu>
+
+ * util/ntp-genkeys.c (main): Don't call fclose if stream is NULL.
+
2000-08-17 Harlan Stenn <stenn@whimsy.udel.edu>
* html/driver35.htm:
i, md5key);
}
}
- fclose(str);
+ if (str) fclose(str);
cleanlinks(f1_keys, f2_keys, f3_keys);
}
encoded_key[temp] = '\0';
fprintf(str, "%d %s\n", modulus, encoded_key);
}
- fclose(str);
+ if (str) fclose(str);
cleanlinks(f1_privatekey, f2_privatekey, f3_privatekey);
/*
encoded_key[temp] = '\0';
fprintf(str, "%d %s\n", modulus, encoded_key);
}
- fclose(str);
+ if (str) fclose(str);
cleanlinks(f1_publickey, f2_publickey, f3_publickey);
}
#endif /* PUBKEY */
fprintf(str, "%d %s\n", dh_params.generatorLen,
encoded_key);
}
- fclose(str);
+ if (str) fclose(str);
cleanlinks(f1_dhparms, f2_dhparms, f3_dhparms);
}
#endif /* PUBKEY */