From: Christos Zoulas Date: Sun, 17 Apr 2016 19:44:45 +0000 (+0000) Subject: only define strings for debugging X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3891333a00952c30be31f9cf84427330219fc7a2;p=file only define strings for debugging --- diff --git a/src/der.c b/src/der.c index e003795f..73c0072b 100644 --- a/src/der.c +++ b/src/der.c @@ -35,7 +35,7 @@ #include "file.h" #ifndef lint -FILE_RCSID("@(#)$File: der.c,v 1.4 2016/03/21 23:04:40 christos Exp $") +FILE_RCSID("@(#)$File: der.c,v 1.5 2016/04/17 19:44:45 christos Exp $") #endif #endif @@ -61,11 +61,15 @@ FILE_RCSID("@(#)$File: der.c,v 1.4 2016/03/21 23:04:40 christos Exp $") #define DER_CLASS_APPLICATION 1 #define DER_CLASS_CONTEXT 2 #define DER_CLASS_PRIVATE 3 +#ifdef DEBUG_DER static const char der_class[] = "UACP"; +#endif #define DER_TYPE_PRIMITIVE 0 #define DER_TYPE_CONSTRUCTED 1 +#ifdef DEBUG_DER static const char der_type[] = "PC"; +#endif #define DER_TAG_EOC 0x00 #define DER_TAG_BOOLEAN 0x01