summaryrefslogtreecommitdiff
path: root/src/scepclient/scepclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scepclient/scepclient.c')
-rw-r--r--src/scepclient/scepclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scepclient/scepclient.c b/src/scepclient/scepclient.c
index d7abcb423..853490f61 100644
--- a/src/scepclient/scepclient.c
+++ b/src/scepclient/scepclient.c
@@ -896,7 +896,7 @@ int main(int argc, char **argv)
}
hash = hasher_algorithm_from_integrity(token->algorithm,
NULL);
- if (hash == OID_UNKNOWN)
+ if (hash == (hash_algorithm_t)OID_UNKNOWN)
{
usage("invalid algorithm specified");
}