remove warnings, fix memory leaks and use only 20 bytes as a sha-1 hash
remove warnings, fix memory leaks and use only 20 bytes as a sha-1 hash

dengert/libp11,gerow/libp11,OpenSC/libp11,OpenSC/libp11,nmav/libp11,mtrojnar/libp11,dengert/libp11,gerow/libp11,nmav/libp11,mouse07410/libp11,mouse07410/libp11,mtrojnar/libp11