diff options
author | Andy Polyakov <appro@openssl.org> | 2005-09-20 20:19:07 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2005-09-20 20:19:07 +0000 |
commit | 7a06050cd356001ec80a9202f50de6eb4e09f6e7 (patch) | |
tree | f58dc4c4533fb0ce0d689b52bb6bbdf4d07ec59d /e_os.h | |
parent | 6f9afa68cdd33acb24ac3c8bb43eff179108a73e (diff) | |
download | openssl-7a06050cd356001ec80a9202f50de6eb4e09f6e7.tar.gz |
"Overload" SunOS 4.x memcmp, which ruins ASN1_OBJECT table lookups.
PR: 1196
Submitted by: Russel Ruby
Diffstat (limited to 'e_os.h')
-rw-r--r-- | e_os.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -565,6 +565,9 @@ extern HINSTANCE _hInstance; extern char *sys_errlist[]; extern int sys_nerr; # define strerror(errnum) \ (((errnum)<0 || (errnum)>=sys_nerr) ? NULL : sys_errlist[errnum]) + /* Being signed SunOS 4.x memcpy breaks ASN1_OBJECT table lookup */ +#include "o_str.h" +# define memcmp OPENSSL_memcmp #endif #ifndef OPENSSL_EXIT |