aboutsummaryrefslogtreecommitdiffstats
path: root/src/scepclient/scepclient.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-06-22 11:28:10 +0200
committerTobias Brunner <tobias@strongswan.org>2012-06-25 16:35:06 +0200
commit903093d439c4bc5d6083c07b4a6aa410cf90216e (patch)
treed7c609779bc80370452fc13bc3ffe268641e6993 /src/scepclient/scepclient.c
parent73d032e41276ecca3b1b7c7f95c805a649113b48 (diff)
downloadstrongswan-903093d439c4bc5d6083c07b4a6aa410cf90216e.tar.bz2
strongswan-903093d439c4bc5d6083c07b4a6aa410cf90216e.tar.xz
hasher_algorithm_from_integrity() optionally returns truncation length
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");