This file is indexed.

/usr/include/kashmir/system/sslmd5.h is in libkashmir-dev 0.0~git20150805.0.2f3913f+dfsg3-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
// sslmd5.h -- hash algorithm described in IETF RFC 1321
//             Open SSL implementation

// Copyright (C) 2013 Kenneth Laskoski

/** @file sslmd5.h
    @brief Open SSL implementation of md5 algorithm
    @author Copyright (C) 2013 Kenneth Laskoski
*/

#ifndef KL_SSLMD5_H 
#define KL_SSLMD5_H 

#include "../md5_gen.h"
#include "../unique.h"

#include <stdexcept>

#include <openssl/md5.h>

namespace kashmir {
namespace system {

class sslmd5 : public md5::engine<sslmd5>, unique<sslmd5>
{
    MD5_CTX ctx;

public:
    sslmd5() { MD5_Init(&ctx); }

    void update(const char *const source, std::size_t count)
    {
        MD5_Update(&ctx, reinterpret_cast<const void *const>(source), count);
    }

    md5_t operator()()
    {
        md5_t data;
        MD5_Final(reinterpret_cast<unsigned char *const>(&data), &ctx);
        return data;
    }
};

}}

#endif