diff options
author | Tobias Brunner <tobias@strongswan.org> | 2012-06-22 11:28:10 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2012-06-25 16:35:06 +0200 |
commit | 903093d439c4bc5d6083c07b4a6aa410cf90216e (patch) | |
tree | d7c609779bc80370452fc13bc3ffe268641e6993 /src/scepclient/scepclient.c | |
parent | 73d032e41276ecca3b1b7c7f95c805a649113b48 (diff) | |
download | strongswan-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.c | 3 |
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"); |