Formatting: unnecessary lines and trailing whitespace.
This commit is contained in:
		| @@ -69,7 +69,7 @@ DB_close(krb5_context context, HDB *db) | ||||
|     db->hdb_dbc = 0; | ||||
|     (*d->close)(d, 0); | ||||
|     db->hdb_db = 0; | ||||
|   | ||||
|  | ||||
|     if (db3->lock_fd >= 0) { | ||||
| 	close(db3->lock_fd); | ||||
| 	db3->lock_fd = -1; | ||||
| @@ -265,11 +265,11 @@ _open_db(DB *d, char *fn, int myflags, int flags, mode_t mode, int *fd) | ||||
|     if (*fd == -1) | ||||
|        return errno; | ||||
|  | ||||
|     /*   | ||||
|     /* | ||||
|      * Without DB_FCNTL_LOCKING, the DB library complains when initializing | ||||
|      * a database in an empty file. Since the database is our lock file, | ||||
|      * we create it before Berkeley DB does, so a new DB always starts empty. | ||||
|      */  | ||||
|      */ | ||||
|     myflags |= DB_FCNTL_LOCKING; | ||||
|  | ||||
|     ret = flock(*fd, (myflags&DB_RDONLY) ? LOCK_SH : LOCK_EX); | ||||
|   | ||||
| @@ -157,7 +157,6 @@ append_mit_key(krb5_context context, krb5_storage *sp, | ||||
|     krb5_data keylenbytes; | ||||
|     unsigned int salttype; | ||||
|  | ||||
|  | ||||
|     sz = append_string(context, sp, "\t%u\t%u\t%d\t%d\t", key_versions, kvno, | ||||
|                         key->key.keytype, key->key.keyvalue.length + 2); | ||||
|     if (sz == -1) return sz; | ||||
| @@ -172,7 +171,7 @@ append_mit_key(krb5_context context, krb5_storage *sp, | ||||
|     sz = append_hex(context, sp, 1, 1, &key->key.keyvalue); | ||||
|     if (!key->salt) | ||||
|         return sz; | ||||
|      | ||||
|  | ||||
|     /* Map salt to MIT KDB style */ | ||||
|     switch (key->salt->type) { | ||||
|     case KRB5_PADATA_PW_SALT: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Roland C. Dowdeswell
					Roland C. Dowdeswell