summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/asn1_err.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-08-06 16:32:54 +0000
committerDr. Stephen Henson <steve@openssl.org>2009-08-06 16:32:54 +0000
commitd9d0f1b52c570f0cc91ac5e8d1eb6a5bce4ba146 (patch)
tree44d945494891928ab250e69e63b5969a8dd77426 /crypto/asn1/asn1_err.c
parente075341d66cf35527b37e449a39de9b68cee6bcb (diff)
Reject leading 0x80 in OID subidentifiers.
Diffstat (limited to 'crypto/asn1/asn1_err.c')
-rw-r--r--crypto/asn1/asn1_err.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/asn1/asn1_err.c b/crypto/asn1/asn1_err.c
index 664f158bb3..6e04d08f31 100644
--- a/crypto/asn1/asn1_err.c
+++ b/crypto/asn1/asn1_err.c
@@ -1,6 +1,6 @@
/* crypto/asn1/asn1_err.c */
/* ====================================================================
- * Copyright (c) 1999-2008 The OpenSSL Project. All rights reserved.
+ * Copyright (c) 1999-2009 The OpenSSL Project. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -248,6 +248,7 @@ static ERR_STRING_DATA ASN1_str_reasons[]=
{ERR_REASON(ASN1_R_INVALID_MIME_TYPE) ,"invalid mime type"},
{ERR_REASON(ASN1_R_INVALID_MODIFIER) ,"invalid modifier"},
{ERR_REASON(ASN1_R_INVALID_NUMBER) ,"invalid number"},
+{ERR_REASON(ASN1_R_INVALID_OBJECT_ENCODING),"invalid object encoding"},
{ERR_REASON(ASN1_R_INVALID_SEPARATOR) ,"invalid separator"},
{ERR_REASON(ASN1_R_INVALID_TIME_FORMAT) ,"invalid time format"},
{ERR_REASON(ASN1_R_INVALID_UNIVERSALSTRING_LENGTH),"invalid universalstring length"},