summaryrefslogtreecommitdiffstats
path: root/util/mkerr.pl
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2016-02-17 17:04:47 -0500
committerRich Salz <rsalz@openssl.org>2016-02-17 17:04:47 -0500
commit3ba84717a0ac76785935efcca50ab80e1e2f5564 (patch)
tree21d4a0fc727df2c3af38f739057076bdbea1ba3a /util/mkerr.pl
parent4277cf909103efff5773fdfa072f05dccb769c5b (diff)
Reviewed-by: Tim Hudson <tjh@openssl.org>
Diffstat (limited to 'util/mkerr.pl')
-rw-r--r--util/mkerr.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/mkerr.pl b/util/mkerr.pl
index 939a87c07c..4fd5520d87 100644
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -94,7 +94,7 @@ Options:
void ERR_load_<LIB>_strings(void);
void ERR_unload_<LIB>_strings(void);
void ERR_<LIB>_error(int f, int r, char *fn, int ln);
- #define <LIB>err(f,r) ERR_<LIB>_error(f,r,__FILE__,__LINE__)
+ #define <LIB>err(f,r) ERR_<LIB>_error(f,r,OPENSSL_FILE,OPENSSL_LINE)
while the code facilitates the use of these in an environment
where the error support routines are dynamically loaded at
runtime.
@@ -493,7 +493,7 @@ EOF
${staticloader}void ERR_load_${lib}_strings(void);
${staticloader}void ERR_unload_${lib}_strings(void);
${staticloader}void ERR_${lib}_error(int function, int reason, char *file, int line);
-# define ${lib}err(f,r) ERR_${lib}_error((f),(r),__FILE__,__LINE__)
+# define ${lib}err(f,r) ERR_${lib}_error((f),(r),OPENSSL_FILE,OPENSSL_LINE)
EOF
}