Fix things so DH_free() will be no-op when passed NULL, like RSA_free() and
[oweals/openssl.git] / crypto / err / err.h
index 75f931be112539bd552430e078307c9724a6bbed..c81dedd66629f79a70b860b765d91191a54d9eb7 100644 (file)
@@ -192,6 +192,12 @@ typedef struct err_state_st
 #define        ERR_R_MALLOC_FAILURE                    (1|ERR_R_FATAL)
 #define        ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED       (2|ERR_R_FATAL)
 #define        ERR_R_PASSED_NULL_PARAMETER             (3|ERR_R_FATAL)
+#define ERR_R_NESTED_ASN1_ERROR                        (4)
+#define ERR_R_BAD_ASN1_OBJECT_HEADER           (5)
+#define ERR_R_BAD_GET_ASN1_OBJECT_CALL         (6)
+#define ERR_R_EXPECTING_AN_ASN1_SEQUENCE       (7)
+#define ERR_R_ASN1_LENGTH_MISMATCH             (8)
+#define ERR_R_MISSING_ASN1_EOS                 (9)
 
 typedef struct ERR_string_data_st
        {