summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2024-03-29 04:35:42 +0000
committertb <>2024-03-29 04:35:42 +0000
commit4fee8d380d60b85aa25e9d1380e28c0dc63fe5b0 (patch)
tree155786550d00ffc6361e1c40d203e68e4abc6798
parent2077b948490d2cc3e84f8bfb5437d5f061ce6703 (diff)
downloadopenbsd-4fee8d380d60b85aa25e9d1380e28c0dc63fe5b0.tar.gz
openbsd-4fee8d380d60b85aa25e9d1380e28c0dc63fe5b0.tar.bz2
openbsd-4fee8d380d60b85aa25e9d1380e28c0dc63fe5b0.zip
Retire mime_debug()
discussed with jsing
-rw-r--r--src/lib/libcrypto/asn1/asn_mime.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/asn1/asn_mime.c b/src/lib/libcrypto/asn1/asn_mime.c
index 54185359a4..261067366a 100644
--- a/src/lib/libcrypto/asn1/asn_mime.c
+++ b/src/lib/libcrypto/asn1/asn_mime.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: asn_mime.c,v 1.33 2024/03/29 03:23:01 tb Exp $ */ 1/* $OpenBSD: asn_mime.c,v 1.34 2024/03/29 04:35:42 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project. 3 * project.
4 */ 4 */
@@ -110,7 +110,6 @@ static MIME_PARAM *mime_param_find(MIME_HEADER *hdr, char *name);
110static void mime_hdr_free(MIME_HEADER *hdr); 110static void mime_hdr_free(MIME_HEADER *hdr);
111 111
112#define MAX_SMLEN 1024 112#define MAX_SMLEN 1024
113#define mime_debug(x) /* x */
114 113
115/* Output an ASN1 structure in BER format streaming if necessary */ 114/* Output an ASN1 structure in BER format streaming if necessary */
116 115
@@ -707,7 +706,6 @@ mime_parse_hdr(BIO *bio)
707 706
708 case MIME_TYPE: 707 case MIME_TYPE:
709 if (c == ';') { 708 if (c == ';') {
710 mime_debug("Found End Value\n");
711 *p = 0; 709 *p = 0;
712 mhdr = mime_hdr_new(ntmp, 710 mhdr = mime_hdr_new(ntmp,
713 strip_ends(q)); 711 strip_ends(q));
@@ -749,7 +747,6 @@ mime_parse_hdr(BIO *bio)
749 ntmp = NULL; 747 ntmp = NULL;
750 q = p + 1; 748 q = p + 1;
751 } else if (c == '"') { 749 } else if (c == '"') {
752 mime_debug("Found Quote\n");
753 state = MIME_QUOTE; 750 state = MIME_QUOTE;
754 } else if (c == '(') { 751 } else if (c == '(') {
755 save_state = state; 752 save_state = state;
@@ -759,7 +756,6 @@ mime_parse_hdr(BIO *bio)
759 756
760 case MIME_QUOTE: 757 case MIME_QUOTE:
761 if (c == '"') { 758 if (c == '"') {
762 mime_debug("Found Match Quote\n");
763 state = MIME_VALUE; 759 state = MIME_VALUE;
764 } 760 }
765 break; 761 break;