git: 9front

Download patch

ref: 8176bd707ba61a2addf6ed70b2477bc5661c4875
parent: 53fe1918d9343ee565f61e867c921356b2f2cb5a
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Wed Sep 2 02:15:02 EDT 2015

libsec: declare aes_setupEnc static

--- a/sys/src/libsec/port/aes.c
+++ b/sys/src/libsec/port/aes.c
@@ -969,7 +969,7 @@
  *
  * @return	the number of rounds for the given cipher key size.
  */
-int
+static int
 aes_setupEnc(ulong rk[/*4*(Nr + 1)*/], const uchar cipherKey[], int keyBits)
 {
 	int i = 0;
--