aboutsummaryrefslogtreecommitdiffstats
path: root/ossl.h
diff options
context:
space:
mode:
authorMichal Rokos <m.rokos@sh.cvut.cz>2002-04-07 16:34:43 +0000
committerMichal Rokos <m.rokos@sh.cvut.cz>2002-04-07 16:34:43 +0000
commitbc603852659675cd0c7420dd4d126780f7ba6ee2 (patch)
treeb3d68ace93981e8f961f8b2a3451df3d53eac993 /ossl.h
parentfcb0234e46e8fc656748f364148754a1cc80ea4b (diff)
downloadruby-openssl-history-bc603852659675cd0c7420dd4d126780f7ba6ee2.tar.gz
* Macros fixupsossl1-ossl2-branch-point
* X509ExtFactory cleanup * fixed strptime warning on Linux * X509::Certificate#version has been changed! !!! WARNING !!! x509.version = 2 -> defines X509v3, (0 for v1, 1 for v2, ...) p x509.version -> 2, means that it is X509v3 !!! WARNING !!!
Diffstat (limited to 'ossl.h')
-rw-r--r--ossl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ossl.h b/ossl.h
index c56f26e..19b5c28 100644
--- a/ossl.h
+++ b/ossl.h
@@ -133,13 +133,13 @@ time_t time_to_time_t(VALUE);
#if defined(OSSL_DEBUG)
# define OSSL_Raise(klass,text) \
- rb_raise(klass, "%s%s [in '%s', file: '%s', line: %d]", \
+ rb_raise(klass, "%s%s [in '%s', ('%s':%d)]", \
text, OSSL_ErrMsg(), __func__, __FILE__, __LINE__)
# define OSSL_Warn(text) \
- rb_warn("%s%s [in '%s', file: '%s', line: %d]", \
+ rb_warn("%s%s [in '%s', ('%s':%d)]", \
text, OSSL_ErrMsg(), __func__, __FILE__, __LINE__)
# define OSSL_Warning(text) \
- rb_warning("%s%s [in '%s', file: '%s', line: %d]", \
+ rb_warning("%s%s [in '%s', ('%s':%d)]", \
text, OSSL_ErrMsg(), __func__, __FILE__, __LINE__)
#else /*OSSL_DEBUG*/
# define OSSL_Raise(klass,text) \