mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-13 06:02:37 -04:00
Similar to key-directory, check if the key-store directory exists and if it is an actual directory. This commit fixes an accidental test bug in checkconf where if the "warn key-dir" test failed, the result was ignored.
29 lines
640 B
Text
29 lines
640 B
Text
/*
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
*
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
* information regarding copyright ownership.
|
|
*/
|
|
|
|
/*
|
|
* key-directory defined but doesn't exist.
|
|
*/
|
|
options {
|
|
directory ".";
|
|
};
|
|
|
|
key-store "test" {
|
|
directory "test.keystoredir";
|
|
};
|
|
|
|
zone dummy {
|
|
type primary;
|
|
file "xxxx";
|
|
key-directory "test.keydir";
|
|
};
|