summaryrefslogtreecommitdiffstats
path: root/crypto/x509
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-01-22 20:17:30 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-01-22 20:17:30 +0000
commit1699389a4691ea94455ac73fda58b8be9c1f7708 (patch)
treeb5340c0a4d5f6af37a683899a03e49725b9d4b31 /crypto/x509
parentad8ee3d7d19691362de56a334a9b6f1961b8cde9 (diff)
Tolerate PKCS#8 DSA format with negative private key.
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/x509/x509.h b/crypto/x509/x509.h
index e0ec25b061..604f4fb27f 100644
--- a/crypto/x509/x509.h
+++ b/crypto/x509/x509.h
@@ -585,6 +585,7 @@ struct pkcs8_priv_key_info_st
#define PKCS8_NO_OCTET 1
#define PKCS8_EMBEDDED_PARAM 2
#define PKCS8_NS_DB 3
+#define PKCS8_NEG_PRIVKEY 4
ASN1_INTEGER *version;
X509_ALGOR *pkeyalg;
ASN1_TYPE *pkey; /* Should be OCTET STRING but some are broken */