浏览代码

make crypto_verify_32 static

Karel Miko 6 年之前
父节点
当前提交
10056ed540
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/pk/ec25519/tweetnacl.c

+ 1 - 1
src/pk/ec25519/tweetnacl.c

@@ -39,7 +39,7 @@ static int vn(const u8 *x,const u8 *y,int n)
   return (1 & ((d - 1) >> 8)) - 1;
 }
 
-int crypto_verify_32(const u8 *x,const u8 *y)
+static int crypto_verify_32(const u8 *x,const u8 *y)
 {
   return vn(x,y,32);
 }