Skip to content

Commit 2b11c67

Browse files
author
Shigeki Ohtsu
committed
deps: fix RC4 asm in opensslconf.h of 64bit MacOS
The current openssl relase does not use RC4 asm since it explicitly specified as `$asm=~s/rc4\-[^:]+//;` in https://github.com/openssl/openssl/blob/OpenSSL_1_0_1-stable/Configure#L584 But iojs has used RC4 asm on MacOS for long time. Fix type of RC4_INT into `unsinged int` in opensslconf.h of darwin64-x86_64-cc to work on the RC4 asm.
1 parent 84284db commit 2b11c67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/openssl/config/archs/darwin64-x86_64-cc/opensslconf.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ extern "C" {
129129
* - Intel P6 because partial register stalls are very expensive;
130130
* - elder Alpha because it lacks byte load/store instructions;
131131
*/
132-
#define RC4_INT unsigned char
132+
#define RC4_INT unsigned int
133133
#endif
134134
#if !defined(RC4_CHUNK)
135135
/*

0 commit comments

Comments
 (0)