projects
/
apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
It is *never* a good idea to throw away stderr :/.
[apt.git]
/
apt-pkg
/
contrib
/
sha2.h
diff --git
a/apt-pkg/contrib/sha2.h
b/apt-pkg/contrib/sha2.h
index a25ad4d322065bd928a578fbdbcac2a203c1197a..164840d3b52ff5a0063c0c1900564629bd2b677b 100644
(file)
--- a/
apt-pkg/contrib/sha2.h
+++ b/
apt-pkg/contrib/sha2.h
@@
-34,7
+34,7
@@
class SHA2SummationBase : public SummationImplementation
protected:
bool Done;
public:
protected:
bool Done;
public:
- bool Add(const unsigned char *inbuf, unsigned long long len) = 0;
+ bool Add(const unsigned char *inbuf, unsigned long long len)
APT_OVERRIDE APT_NONNULL(2)
= 0;
void Result();
};
void Result();
};
@@
-45,7
+45,7
@@
class SHA256Summation : public SHA2SummationBase
unsigned char Sum[32];
public:
unsigned char Sum[32];
public:
- bool Add(const unsigned char *inbuf, unsigned long long len)
+ bool Add(const unsigned char *inbuf, unsigned long long len)
APT_OVERRIDE APT_NONNULL(2)
{
if (Done)
return false;
{
if (Done)
return false;
@@
-78,7
+78,7
@@
class SHA512Summation : public SHA2SummationBase
unsigned char Sum[64];
public:
unsigned char Sum[64];
public:
- bool Add(const unsigned char *inbuf, unsigned long long len)
+ bool Add(const unsigned char *inbuf, unsigned long long len)
APT_OVERRIDE APT_NONNULL(2)
{
if (Done)
return false;
{
if (Done)
return false;