Small changes to x509_mod.c