2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

oops, don't return an isc_boolean_t as an isc_result_t.

This commit is contained in:
Brian Wellington 2001-07-10 21:27:59 +00:00
parent 1858039a0e
commit 6614bac268

View File

@ -19,7 +19,7 @@
/*
* Principal Author: Brian Wellington
* $Id: dst_api.c,v 1.87 2001/07/10 19:05:53 bwelling Exp $
* $Id: dst_api.c,v 1.88 2001/07/10 21:27:59 bwelling Exp $
*/
#include <config.h>
@ -1064,7 +1064,9 @@ algorithm_status(unsigned int alg) {
if (alg == DST_ALG_RSA || alg == DST_ALG_DSA || alg == DST_ALG_DH)
return (DST_R_NOCRYPTO);
#endif
return (dst_algorithm_supported(alg));
if (!dst_algorithm_supported(alg))
return (DST_R_UNSUPPORTEDALG);
return (ISC_R_SUCCESS);
}
isc_result_t