aggregate initialization.
so we can still compile under sunos
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6738
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Sep 7 18:07:56 1995 Mark Eichin <eichin@cygnus.com>
+
+ * scc_gennew.c (krb5_scc_generate_new): don't use automatic
+ aggregate initialization.
+
Wed Sep 06 14:20:57 1995 Chris Provenzano (proven@mit.edu)
* scc_read.c, scc_write.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g
}
/* For version 4 we save a length for the rest of the header */
if (KRB5_SCC_DEFAULT_FVNO == KRB5_SCC_FVNO_4) {
- unsigned char scc_flen[2] = { 0, 0 };
+ unsigned char scc_flen[2];
+ scc_flen[0] = 0;
+ scc_flen[1] = 0;
if (!fwrite((char *)scc_flen, sizeof(scc_flen), 1, f)) {
retcode = krb5_scc_interpret(context, errno);
(void) fclose(f);