Fix calculation of SSL fingerprints