scepclient: Cast OID_UNKNOWN before comparing it to unsigned hash_algorithm_t
authorMartin Willi <martin@revosec.ch>
Thu, 8 May 2014 11:54:33 +0000 (13:54 +0200)
committerMartin Willi <martin@revosec.ch>
Fri, 16 May 2014 13:42:07 +0000 (15:42 +0200)
commited9bdfee4117fce3db9358ed054bc0226365447d
treef79c3ae3fcf9a5b9cf8ea629f55507906debc3b7
parent78db68cecf10ff800f28e80f1409eb4b7c4794bc
scepclient: Cast OID_UNKNOWN before comparing it to unsigned hash_algorithm_t

clang uses unsigned enums and complains about the always-false -1 check.
src/scepclient/scepclient.c