aboutsummaryrefslogtreecommitdiffstats
path: root/src/scepclient/scepclient.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/scepclient/scepclient.c')
-rw-r--r--src/scepclient/scepclient.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/scepclient/scepclient.c b/src/scepclient/scepclient.c
index 56aafa415..76d639a84 100644
--- a/src/scepclient/scepclient.c
+++ b/src/scepclient/scepclient.c
@@ -851,7 +851,8 @@ int main(int argc, char **argv)
{
usage("invalid algorithm specified");
}
- hash = hasher_algorithm_from_integrity(token->algorithm);
+ hash = hasher_algorithm_from_integrity(token->algorithm,
+ NULL);
if (hash == OID_UNKNOWN)
{
usage("invalid algorithm specified");