This file is indexed.

/usr/include/wvstreams/wvdiffiehellman.h is in libwvstreams-dev 4.6.1-7.

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
/* -*- Mode: C++ -*-
 * Worldvisions Weaver Software:
 * Copyright (C) 2003 Net Integration Technologies, Inc.
 *
 * Diffie-Hellman shared secret creation.
 */

#ifndef __WVDIFFIEHELLMAN_H
#define __WVDIFFIEHELLMAN_H

#include <openssl/dh.h>

#include "wvstream.h"
#include "wvlog.h"

class WvDiffieHellman
{
public:
    WvDiffieHellman(const unsigned char *_key, int _keylen, 
		    BN_ULONG _generator);
    ~WvDiffieHellman() { DH_free(info); }

    void get_created_secret(WvBuf &outbuf, size_t len);
    int get_public_value(WvBuf &outbuf, int len);

    int pub_key_len();
    bool create_secret(WvBuf &inbuf, size_t in_len, WvBuf& outbuf);

protected:
    struct dh_st *info;
    BN_ULONG generator;

private:

    WvLog log;
};

#endif /* __WVDIFFIEHELLMAN_H */