tolerate NULL in strdup(). Patch by shawn (sth0r2046 [at] gmail.com).
Use unsigned type for encode(). Based on suggestion by Shawn (sth0r2046 [at] gmail.com).
Typo fix: overriden -> overridden

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Add _gnutls_fips_mode_enabled() return values.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Test for the existance of the /etc/system-fips file

We don't read it, the existance of the file is enough to say in what
mode we are.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Avoid dual initialization of random generator. Reported by Martin Kletzander.
doc update
x86.h was renamed to x86-common.h to avoid clashes with system headers.