Package: librhash-dev
Version: 1.3.3-1
Severity: normal
Tags: upstream

Dear Maintainer,

The following defines in rhash.h ends with ';' which means they can only be 
used standalone.
So
     printf("Bits: %08x\n",rhash_get_openssl_mask());
will result in a compilation error.

#define rhash_set_openssl_mask(mask) rhash_transmit(RMSG_SET_OPENSSL_MASK, 
NULL, mask, 0);
#define rhash_get_openssl_mask() rhash_transmit(RMSG_GET_OPENSSL_MASK, NULL, 0, 
0);

Removal of the ';' makes them into well-behaved defines.

-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages librhash-dev depends on:
ii  librhash0  1.3.3-1

librhash-dev recommends no packages.

librhash-dev suggests no packages.

-- no debconf information

Reply via email to