From 89bbdd1f694c7237c29e2fefc0eaac47c7fe544f Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Thu, 3 May 2012 09:29:32 +1000 Subject: [PATCH] Use '==' not '=' in conditional test when not using openssl. --- lib/dns/dst_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dns/dst_api.c b/lib/dns/dst_api.c index a7870d6858..0ad454f70c 100644 --- a/lib/dns/dst_api.c +++ b/lib/dns/dst_api.c @@ -1711,7 +1711,7 @@ algorithm_status(unsigned int alg) { alg == DST_ALG_NSEC3RSASHA1 || alg == DST_ALG_RSASHA256 || alg == DST_ALG_RSASHA512 || alg == DST_ALG_ECCGOST || - alg = DST_ALG_ECDSA256 || alg= DST_ALG_ECDSA384) + alg == DST_ALG_ECDSA256 || alg == DST_ALG_ECDSA384) return (DST_R_NOCRYPTO); #endif return (DST_R_UNSUPPORTEDALG);