diff options
Diffstat (limited to 'freebsd/crypto/openssl/crypto/asn1/asn_mime.c')
-rw-r--r-- | freebsd/crypto/openssl/crypto/asn1/asn_mime.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/freebsd/crypto/openssl/crypto/asn1/asn_mime.c b/freebsd/crypto/openssl/crypto/asn1/asn_mime.c index 80d7942c..ca9df134 100644 --- a/freebsd/crypto/openssl/crypto/asn1/asn_mime.c +++ b/freebsd/crypto/openssl/crypto/asn1/asn_mime.c @@ -6,7 +6,7 @@ * project. */ /* ==================================================================== - * Copyright (c) 1999-2008 The OpenSSL Project. All rights reserved. + * Copyright (c) 1999-2018 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 @@ -475,6 +475,7 @@ ASN1_VALUE *SMIME_read_ASN1(BIO *bio, BIO **bcont, const ASN1_ITEM *it) if (!(hdr = mime_hdr_find(headers, "content-type")) || !hdr->value) { sk_MIME_HEADER_pop_free(headers, mime_hdr_free); ASN1err(ASN1_F_SMIME_READ_ASN1, ASN1_R_NO_SIG_CONTENT_TYPE); + sk_BIO_pop_free(parts, BIO_vfree); return NULL; } |