Browse Source

Fix typo from eb7d2ed1.

The RC4_set_key was calling itself rather than the asm function that it
should be calling.

Change-Id: Idfc730c8a651540961e05bc8c8f663a44713f680
kris/onging/CECPQ3_patch15
Adam Langley 10 years ago
parent
commit
581a17f5c8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      crypto/rc4/rc4.c

+ 1
- 1
crypto/rc4/rc4.c View File

@@ -359,7 +359,7 @@ void RC4(RC4_KEY *key, size_t len, const uint8_t *in, uint8_t *out) {

void asm_RC4_set_key(RC4_KEY *rc4key, unsigned len, const uint8_t *key);
void RC4_set_key(RC4_KEY *rc4key, unsigned len, const uint8_t *key) {
RC4_set_key(rc4key, len, key);
asm_RC4_set_key(rc4key, len, key);
}

#endif /* OPENSSL_NO_ASM || (!OPENSSL_X86_64 && !OPENSSL_X86) */

Loading…
Cancel
Save