mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 00:21:21 +02:00
2021-02-23 Fred Gleason <fredg@paravelsystems.com>
* Removed the Qt3Support library from the build system. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Functions for generating hashes.
|
||||
//
|
||||
// (C) Copyright 2017 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2017-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -38,7 +38,7 @@ QString RDSha1Hash(const QString &filename,bool throttle)
|
||||
char data[1024];
|
||||
unsigned char md[SHA_DIGEST_LENGTH];
|
||||
|
||||
if((fd=open(filename,O_RDONLY))<0) {
|
||||
if((fd=open(filename.toUtf8(),O_RDONLY))<0) {
|
||||
return ret;
|
||||
}
|
||||
SHA1_Init(&ctx);
|
||||
|
Reference in New Issue
Block a user