Tsk. Tsk. Someone forgot to compile test the other half.
Stop setting the EVP_MD_CTX_FLAG_NON_FIPS_ALLOW - it has been ignored since
OpenSSL 1.0.0.

ok miod@ (a little while back)
fix type string conversion warning

ASN1_STRING_data returns an unsigned char *, but strlcat's second
parameter is a const char *
remove unused static datastructures

Neither of these is used anywhere within their object files.
Check output of write() to stdout
add missing stdint. include for uint32_t, etc.
remove typecasts on password_callback

Rather than casting password_callback to the correct function pointer
signature at every call site, change it to match the signature instead.
replace malloc(strlen())/strlcpy with strdup

clang complains that we are using len(src) as the length field for
strlcpy. Note that this is just an open-coded strdup anyway.