Commit 6d67e370 authored by Richard Mansfield's avatar Richard Mansfield
Browse files

Correct variable used in sha1/md5 fingerprint check


Signed-off-by: default avatarRichard Mansfield <richardm@catalyst.net.nz>
parent ea0c3354
......@@ -1255,11 +1255,11 @@ class OpenSslRepo {
}
$_sha1_fingerprint = sha1($der_cert);
if ( $sha1_fingerprint === FALSE ) {
if ( $_sha1_fingerprint === FALSE ) {
throw new CryptException("Error calculating sha1 fingerprint");
}
$_md5_fingerprint = md5($der_cert);
if ( $md5_fingerprint === FALSE ) {
if ( $_md5_fingerprint === FALSE ) {
throw new CryptException("Error calculating md5 fingerprint");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment