In base/slp.py there is:

packet = ''.join(['\x01\x06\x00,\x00\x00en\x00\x03',
           struct.pack('!H', xid or random.randint(1, 65535)),
           '\x00\x00\x00\x18service:x-hpnp-discover:\x00\x00\x00\x00'])

Does this random XID need to be cryptographically secure, or will any
number do?  Will just '1' do?

The reason I ask is that our SELinux implementation restricts access to
the system's entropy pool.

Tim.
*/

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
HPLIP-Devel mailing list
HPLIP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hplip-devel

Reply via email to