used as truth value.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12475
dc483132-0cff-0310-8789-
dd5450dbe970
+Thu Jun 29 17:11:17 2000 Ezra Peisach <epeisach@mit.edu>
+
+ * random_key.c (des_random_key): Add parentheses around assignment
+ used as truth value.
+
2000-03-14 Ken Raeburn <raeburn@mit.edu>
* read_passwd.c (des_read_pw_string): Make ointrfunc volatile.
krb5_keyblock keyblock;
krb5_error_code kret;
- if (kret = krb5_c_make_random_key(/* XXX */ 0, ENCTYPE_DES_CBC_CRC,
- &keyblock))
+ if ((kret = krb5_c_make_random_key(/* XXX */ 0, ENCTYPE_DES_CBC_CRC,
+ &keyblock)))
return(kret);
memcpy(key, keyblock.contents, sizeof(mit_des_cblock));