don't test dst if configured without openssl
This commit is contained in:
+14
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user