aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/asn1.h
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2007-11-20 13:37:51 +0000
committerDr. Stephen Henson <steve@openssl.org>2007-11-20 13:37:51 +0000
commit94e6ae7a697486716313062c5c6700c9e0d6423a (patch)
treea7ca14b0f0e82a367934f452d4de8201b1b5a9b1 /crypto/asn1/asn1.h
parentf670738987247d43cad624bf432c6b615a950572 (diff)
downloadopenssl-94e6ae7a697486716313062c5c6700c9e0d6423a.tar.gz
Submitted by: "Victor B. Wagner" <vitus@cryptocom.ru>
Make {d2i,i2d}_PrivateKey() fall back to PKCS#8 format if no legacy format supported. Add support in d2i_AutoPrivateKey().
Diffstat (limited to 'crypto/asn1/asn1.h')
-rw-r--r--crypto/asn1/asn1.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/asn1/asn1.h b/crypto/asn1/asn1.h
index 1bf227d27f..2adb06e93f 100644
--- a/crypto/asn1/asn1.h
+++ b/crypto/asn1/asn1.h
@@ -1185,6 +1185,7 @@ void ERR_load_ASN1_strings(void);
#define ASN1_F_D2I_ASN1_TYPE_BYTES 149
#define ASN1_F_D2I_ASN1_UINTEGER 150
#define ASN1_F_D2I_ASN1_UTCTIME 151
+#define ASN1_F_D2I_AUTOPRIVATEKEY 207
#define ASN1_F_D2I_NETSCAPE_RSA 152
#define ASN1_F_D2I_NETSCAPE_RSA_2 153
#define ASN1_F_D2I_PRIVATEKEY 154