flag = {
name = inder;
- descrip = "Use DER format for input certificates and private keys";
+ descrip = "Use DER/RAW format for input certificates and private keys";
+ disabled;
+ disable = "no";
doc = "";
};
flag = {
name = inraw;
- descrip = "Use RAW/DER format for input certificates and private keys";
- doc = "";
+ aliases = inder;
};
flag = {
if (HAVE_OPT(PKCS8))
cinfo.pkcs8 = 1;
- if (HAVE_OPT(INDER) || HAVE_OPT(INRAW))
+ if (ENABLED_OPT(INDER) || ENABLED_OPT(INRAW))
cinfo.incert_format = GNUTLS_X509_FMT_DER;
+ else
+ cinfo.incert_format = GNUTLS_X509_FMT_PEM;
if (HAVE_OPT(LOAD_CERTIFICATE))
cinfo.cert = OPT_ARG(LOAD_CERTIFICATE);