mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 23:49:59 -04:00
don't test dst if configured without openssl
This commit is contained in:
parent
dc9b928cf6
commit
17f04ff2e7
1 changed files with 14 additions and 1 deletions
|
|
@ -15,7 +15,7 @@
|
|||
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
|
||||
/* $Id: t_dst.c,v 1.44 2001/04/04 02:02:51 bwelling Exp $ */
|
||||
/* $Id: t_dst.c,v 1.45 2001/07/11 21:46:32 bwelling Exp $ */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
|
|
@ -388,6 +388,13 @@ t1(void) {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!dst_algorithm_supported(DST_ALG_RSAMD5)) {
|
||||
dst_lib_destroy();
|
||||
t_info("library built without crypto support\n");
|
||||
t_result(T_UNTESTED);
|
||||
return;
|
||||
}
|
||||
|
||||
t_info("testing use of stored keys [1]\n");
|
||||
|
||||
dns_fixedname_init(&fname);
|
||||
|
|
@ -859,6 +866,12 @@ t2_vfy(char **av) {
|
|||
return(T_UNRESOLVED);
|
||||
}
|
||||
|
||||
if (!dst_algorithm_supported(DST_ALG_RSAMD5)) {
|
||||
dst_lib_destroy();
|
||||
t_info("library built without crypto support\n");
|
||||
return (T_UNTESTED);
|
||||
}
|
||||
|
||||
t_info("testing %s, %s, %s, %s, %s, %s\n",
|
||||
datapath, sigpath, keyname, key, alg, exp_result);
|
||||
t2_sigchk(datapath, sigpath, keyname, keyid,
|
||||
|
|
|
|||
Loading…
Reference in a new issue