summaryrefslogtreecommitdiffstats
path: root/crypto/x509/x509.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-01-22 20:17:12 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-01-22 20:17:12 +0000
commitba64ae6cd13182f4f1d99beed8274e17bf8a92b7 (patch)
tree2b40d7d1c7f273aefce953b53262107074af68ff /crypto/x509/x509.h
parent3a88efd48c4de1e6d46f1b379dd3ff84847297d5 (diff)
Tolerate PKCS#8 DSA format with negative private key.
Diffstat (limited to 'crypto/x509/x509.h')
-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 a2383b387a..eb1b7c6b2d 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 */